A “link editor” is a program that:
View worked solution
Answer: B
A link editor (commonly known as a linker) is a system program that takes one or more object files generated by a compiler and combines them into a single executable file or library.
One of the primary functions of a linker is symbol resolution. When a program is split into multiple source files, a reference to a function or variable defined in another file is represented as an external reference (or external name). The linker resolves these references by matching the external names used in one program module with their actual memory locations or definitions in other modules.
Let's evaluate the options:
- Option A: This describes macro expansion, which is performed by a preprocessor.
- Option B: This correctly describes the symbol resolution process of a linker.
- Option C: This describes parameter binding, which is handled by the compiler and the runtime environment.
- Options D & E: These are incorrect and do not describe the functionality of a linker.
Therefore, the correct option is B.
Free practice · Your answers on this page are not saved.
