The set {anbn | n = 1, 2, 3 ...} can be generated by the CFG
A. | S —>ab | aSb |
B. | S —>aaSbb + abS |
C. | S—> ab | aSb | E |
D. | S —>aaSbb | ab | aabb |
Answer : D Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |