Consider a program having two modules: MA and MB. They are defined in two…

Consider a program having two modules: MA and MB. They are defined in two separate files. Let MA has a reference to a function defined in MB.

Consider the following statements:

S1: While compiling the program MA and MB both are compiled independently.

S2: The reference of function is resolved at compile time.

Which of the above statement is/are FALSE?

  1. A.

    Both S1 and S2

  2. B.

    Only S1

  3. C.

    Only S2

  4. D.

    Neither S1 nor S2

Attempted by 109 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…