1.

Given grammar G:S->aS| ABA-> eB-> eD-> bReduce the grammar, removing all the e productions:

A. S->aS| AB| A| B, D-> b
B. S->aS| AB| A| B| a, D-> b
C. S->aS| AB| A| B
D. None of the mentioned
Answer» C. S->aS| AB| A| B


Discussion

No Comment Found