GATE CS 2014, set 3 · Question 27 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
One of the purposes of using intermediate code in compilers is to
- (A) make parsing and semantic analysis simpler.
- (B) improve error recovery and error reporting.
- (C) increase the chances of reusing the machine-independent code optimizer in other compilers.
- (D) improve the register allocation.
Answer
Answer (C)
Answer from the official GATE CS 2014 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes