1.

Simplify the given grammar:S->aXbX->aXb | e

A. S->aXb | ab, X-> aXb | ab
B. S->X | ab, X-> aXb | ab
C. S->aXb | ab, X-> S | ab
D. None of the mentioned
Answer» B. S->X | ab, X-> aXb | ab


Discussion

No Comment Found