Join WhatsApp ChannelDaily MCQs & Exam Updates
Computer Science Easy FPSC Uploaded: 23 Aug 2026

What is the function of a linker in programming?

  • A To manage memory allocation
  • B To design user interfaces
  • C To debug source code
  • D To combine object files into a single executable
Correct Answer: Option D — To combine object files into a single executable
Explanation:
A linker combines multiple object files generated by a compiler, along with necessary libraries, into a single executable program that can be run by the operating system.
Submitted by: PaperMCQs
Related MCQs