Of the interface file and the implementation file, which may be directly compiled?

a. Only the interface?
b. Only the implementation?
c. None of the above?
d. Some of the above? Which?

e)
Explanation: Only b), the implementation file, has function definitions, hence may be compiled. (While explicitly compiling a header file, such as file.h, is illegal, the implementation will necessarily #include the interface, so the interface will be compiled, but not directly.)

Computer Science & Information Technology

You might also like to view...

A _________ is a logo or symbol that represents a brand

a. copyright b. trademark c. patent

Computer Science & Information Technology

A(n)______ is a program unit in a form that runs in response to an event or a system action.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology