Discussion
The linker is required because
Answer: D
Correct answer: a program is usually built from several separately compiled modules
Separate compilation is what makes the linker necessary. A module referring to a routine defined elsewhere cannot have that address filled in when it is compiled, since the other module may not yet exist.
The linker combines the object files, resolves those external references, and produces a single executable. Libraries are brought in the same way. The assembler produces perfectly good relocatable code on its own, and the operating system loads what the linker has produced.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development