Consider the grammar shown below. S → C C C → c C | d The grammar is

PYQ GATE 2003

Consider the grammar shown below.

S → C C
C → c C | d

The grammar is

  1. A.

    LL(1)

  2. B.

    SLR(1) but not LL(1)

  3. C.

    LALR(1) but not SLR(1)

  4. D.

    LR(1) but not LALR(1)

Attempted by 187 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…