Which of the following grammar is LR (1) ?
PYQ UGC NET 2009
Which of the following grammar is LR (1) ?
- A.
A → a A b, A → b A b, A → a, A → b
- B.
A → a A a, A → a A b, A → c
- C.
A → A + A, A → a
- D.
Both (A) and (B)
Attempted by 18 students.
Sign up free to check your answer
Sign up freeLoading lesson…

