332 views
0 votes
0 votes

The given answer is A) 

but option A) produces the string "ab" which is not produced by the above grammar so how can the answer be A) ?

Please log in or register to answer this question.

Related questions

2 votes
2 votes
0 answers
1
h4kr asked Nov 19, 2022
319 views
1 votes
1 votes
1 answer
2
0 votes
0 votes
0 answers
4
Gupta731 asked Nov 29, 2018
596 views
Consider the following Grammar GS >SX|SSb|XS|aX >a|XbThe number of productions in the grammar(including epsilon production) after removing left recursion is ?