Consider two grammars and with the production rules given below:
where if, then, else, a, b, c are the terminals.
Which of the following option(s) is/are CORRECT?
- Ais not and is .
- Bis and is not .
- Cand are not .
- Dand are ambiguous.
Compiler DesignLexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)MSQ2 marksMedium
A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.