Consider the following grammar
S → aMd| bNd | aNe |bMe
M → c
N → c
Which of the following is the correct option?
1
LALR(1) but not SLR(1)
2
LR(1) but not LALR(1)
3
SLR(1) but not LR(1)
4
LALR(1)
Consider the following grammar
S → aMd| bNd | aNe |bMe
M → c
N → c
Which of the following is the correct option?