MCQ Practice Single Best Answer Topic: Compiler vs Interpreter

Q What is the role of the linker in the compilation process?

Question ID
#19985
Subchapter
Compiler vs Interpreter
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is 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: 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

Share this MCQ with your friends or study group.