1.

Choose the correct statement.(a) CFG is not LR(b) Ambiguous Grammar can never be LR(c) CFG is not LR & Ambiguous Grammar can never be LR(d) None of the mentionedI got this question in examination.My question is from Error Recovery in LR phase in section Error Handling of Compiler

Answer»

The correct ANSWER is (c) CFG is not LR & Ambiguous GRAMMAR can never be LR

Easy explanation: Mentioned reason is TRUE.



Discussion

No Comment Found

Related InterviewSolutions