1.

Which concept of grammar is used in the compiler?(a) Lexical analysis(b) Parser(c) Code generation(d) Code optimizationThe question was posed to me in examination.This question is from Lexical Analysis in division Compiler Introduction of Compiler

Answer»

Right OPTION is (b) PARSER

Best explanation: As the lexical ANALYSIS of a GRAMMAR takes place in phases hence it is synonymous to parser.



Discussion

No Comment Found

Related InterviewSolutions