Consider the following grammar
S -> Aa | bAc | dc | bda
A -> d
The above grammar is:
(A) Not LALR(1) but SLR(1)
(B) Both LALR(1) and SLR(1)
(C) LALR(1) but not SLR(1)
(D) Neither LALR(1) nor SLR(1)
Answer: (C)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post