All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · December 2023

One of the purposes of using intermediate code in compilers is to:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. increase the chances of reusing the machine-independent code optimizer in other compilers

Explanation

A machine-independent intermediate representation lets the same front end/optimiser be reused with different back ends (retargeting).

More Theory of Computation and Compilers questions