ITPEC FE Subject A April 2026 Question 16
Which of the following is a program that combines the separately compiled modules of a program into a form suitable for execution in C language?
Explanation
Linker — joins separately compiled object modules and libraries into one executable program.
A C program is built in stages: the compiler translates each source file into an object module, then the linker resolves the references between those modules and to library routines and produces a load module the loader can run.
Answer (d)
Why not others:
- •(a) Assembler — translates assembly language into machine code, producing an object module rather than combining several
- •(b) Compiler — translates C source into object modules, the step before linking
- •(c) Interpreter — executes source statements one by one and produces no linked executable
Key rule: The compiler and assembler work on one module at a time; the linker is the stage that combines all modules and resolves the references between them.
Software · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.