Code Generation.

Q35. What do you understand by ‘code generation’? Can a program be executed before it?

Ans. Compiler compiles the program to translate the program text in object or assembly instruction set which is understood by the computer. This process of translation is called code generation.

After code generation the actual program execution takes place.

Leave a Reply

Your email address will not be published. Required fields are marked *