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) ?
Both are generating the ab infect genrating the same language.
64.3k questions
77.9k answers
244k comments
80.0k users