The grammar \(S \rightarrow (S) \mid SS \mid \epsilon\) is not suitable for…

PYQ UGC NET 2018

The grammar S→(S)∣SS∣ϵS \rightarrow (S) \mid SS \mid \epsilon is not suitable for predictive parsing because the grammar is

  1. A.

    Right recursive

  2. B.

    Left recursive

  3. C.

    Ambiguous

  4. D.

    An operator grammar

Attempted by 446 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…