Consider the grammar G S → pSqS / qSpS / ε G is:

Consider the grammar G
S → pSqS / qSpS / ε
G is:

  1. A.

    LL(1)

  2. B.

    CLR(1)

  3. C.

    LL(1) and CLR(1)

  4. D.

    Ambiguous

Attempted by 210 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…