Which of the following statement(s) regarding a linker software is/are true ?
I A function of a linker is to combine several object modules into a single load module.
II A function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules.
(A) Only I
(B) Only II
(C) Both I and II
(D) Neither I nor II
Explanation: A linker is computer software that combine two or more file generated by compiler into a single executable file.
Option I is correct but II option doesn’t resemble linker.
For more information on linker Refer:How Linkers Resolve Global Symbols Defined at Multiple Places?
Option (A) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.