Open In App
Related Articles

GATE | GATE 2017 MOCK II | Question 60

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads