Which of the following grammar is LR (1) ?
- A → a A b, A → b A b, A → a , A →b
- A → a A a, A → a A b, A → c
- A → A + A, A → a
- Both (A) and (B)
Answer : D
Explanation:
Both (A) and (B)
Do U have Better Solution ?
Contribute your Solution in Comment Section below