in Compiler Design
350 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) ?

in Compiler Design
350 views

3 Comments

Both are generating the ab infect genrating the same language.

1
1
S-->SaSbS

S-->ab

is the question, Both Question and Ans Genrate "ab".
0
0
Ahh , got my mistake :)
0
0

Please log in or register to answer this question.