MCQ
Q.
Which part of the compiler highly used the grammar concept?
Â
Â
Correct Answer: C
The concept of grammar is much used in the parser phase of the compiler.
The parser phase is next to the lexical analysis phase in the compiler. Parser generated the parse tree using the predefined grammar. The parser has two different techniques for creating a different parse tree.