GATE | GATE CS Mock 2018 | Set 2 | Question 31

Which is True about SR and RR-conflict:

(A) If there is no SR-conflict in CLR(1) then definitely there will be no SR-conflict in LALR(1).
(B) RR-conflict might occur if lookahead for final items(reduce-moves) is same.
(C) Known that CLR(1) has no RR-conflict, still RR-conflict might occur in LALR(1).
(D) All of the above.


Answer: (D)

Explanation: In above given options all the statements are correct. So, option (D) is Correct.

Quiz of this Question



My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.