edited by
362 views

1 Answer

0 votes
0 votes

According to me only option A is correct. For G2, the grammar is ambiguous as there  can be two derivations for the string “abc”. and further for it no unambiguous grammar exists for it. Hence  only option  A is correct. 

Related questions

0 votes
0 votes
0 answers
3