1.

Generation of intermediate code based on a abstract machine model is useful in compilers because ____________(a) Implementation of lexical analysis and syntax analysis is made easier(b) Writing for intermediate code generation(c) Portability of the front end of the compiler(d) None of the mentioned

Answer» Right option is (a) Implementation of lexical analysis and syntax analysis is made easier

For explanation I would say: Intermediate code generator receives input from its predecessor phase, semantic analyzer, in the form of an annotated syntax tree.


Discussion

No Comment Found

Related InterviewSolutions