233 views

how to check that second one is inherently ambiguous i have little confusion in it

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.

by