The grammar S \(\to\) aSa|bS|c is

PYQ GATE 2010

The grammar S →\to aSa|bS|c is

  1. A.

    LL(1) but not LR(1)

  2. B.

    LR(1) but not LL(1)

  3. C.

    Both LL(1) and LR(1)

  4. D.

    Neither LL(1) nor LR(1)

Attempted by 283 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…