Multiple choice

____________________ file is the output of a compiler.

  1. .c

  2. .h

  3. .obj

  4. .exe

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

A compiler translates source code into object code, which is stored in object files (.obj on Windows, .o on Unix-like systems). These object files contain machine code but may not be fully linked - they may reference external symbols that the linker will resolve. The .exe file is produced by the linker, not the compiler.