The grammar S → aSa | bS | c is?
A. LL(1) but not LR(1)
B. LR(1) but not LR(1)
C. Both LL(1) but not LR(1) & LR(1) but not LR(1)
D. None of the mentioned
Answer:C
The grammar S → aSa | bS | c is?
A. LL(1) but not LR(1) B. LR(1) but not LR(1) C. Both LL(1) but not LR(1) & LR(1) but not LR(1) D. None of the mentioned