1.

The grammar A → AA | (A) | e is not suitable for predictive-parsing because the grammar is?(a) Ambiguous(b) Left recursive(c) Right recursive(d) An operator grammar

Answer» Correct choice is (b) Left recursive

For explanation I would say: A ::= A a

    | b  is the left recursive language.


Discussion

No Comment Found

Related InterviewSolutions