Multiple choice

What is the use of linker?

  1. Linker combines the object files into a single executable program.

  2. Linker converts the source file into object file.

  3. Linker converts the source file into executable file.

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A linker combines multiple object files (compiled from source code) into a single executable program. It resolves references between modules and performs address binding. Compilers create object files, while linkers create the final executable.