- Compiler translates high-level language to machine code.
- Interpreter executes code line by line.
- Assembler is for assembly language.
Step 1: Understanding source code translation.
- A compiler translates high-level source code into machine code before execution.
- Assembler is used for assembly language.
- Loader loads the program into memory.
Step 2: Selecting the correct option.
Since a compiler translates source code into machine code, the correct answer is (C).