LIB compiler option must be in effect for which of the following statements?

  1. (a) Basis

  2. (b) Copy

  3. (c) Replace

  4. (d) All of the above


Correct Option: D
Explanation:

To understand which statement requires the LIB compiler option, one must know what the LIB compiler option does. The LIB compiler option specifies the name of the library file to be used during the linking phase of the build process. The library file contains precompiled object code that can be linked to the program being built.

Now, let's go through each option and determine whether it requires the LIB compiler option or not:

A. (a) Basis: This statement does not require the LIB compiler option because it does not involve linking precompiled object code from a library file.

B. (b) Copy: This statement does not require the LIB compiler option because it does not involve linking precompiled object code from a library file.

C. (c) Replace: This statement requires the LIB compiler option because it involves linking precompiled object code from a library file. The library file specified in the LIB option will be used during the linking phase of the build process.

D. (d) All of the above: Since option C requires the LIB compiler option, the correct answer is D, i.e., all of the above.

Therefore, the answer is: D.

Find more quizzes: