Question: What is the main goal of code generation in a compiler?
Options:
Correct Answer: To produce machine code from intermediate code
Solution:
The main goal of code generation is to produce machine code from the intermediate code generated during compilation.