MCQ Single Best Answer Easy

QWhat is the role of the linker in the compilation process?

ID: #19985 Compiler vs Interpreter 115 views
Question Info
#19985Q ID
EasyDifficulty
Compiler vs InterpreterTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Translates source code into machine code
  • B Combines compiled object code into an executable file
  • C Performs syntax analysis on the source code
  • D Interprets the high-level language statements
Correct Answer: Option B

Explanation

The linker in the compilation process combines compiled object code generated by the compiler into an executable file. It resolves references and produces the final executable that can be run.

Share This Question

Challenge a friend or share with your study group.