Which of the following statement(s) regarding a linker software is/are true? I…
2016
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
Attempted by 128 students.
Show answer & explanation
Correct answer: A
Statement I is true because a linker combines multiple object modules into a single load module. Statement II is false because linkers resolve symbolic references to absolute addresses, rather than replacing absolute references with symbolic ones.
A video solution is available for this question — log in and enroll to watch it.