What is the function or purpose of Intermediate code generation?
- A. The final compiler phase that converts optimized intermediate code into target machine code.
- B. The compiler phase that translates source code into an intermediate representation before final code generation. ✓
- C. A sequence of characters in source code that matches the pattern for a token.
- D. A program that executes source code directly, translating and running it line by line without producing a separate executable.
Correct answer
B. The compiler phase that translates source code into an intermediate representation before final code generation.
Explanation
Intermediate code generation refers to the compiler phase that translates source code into an intermediate representation before final code generation.