Which one of the following grammars is free from left recursion?
GATE · 2016 · CS · Set 2 · Computer Science & IT
Which one of the following grammars is free from left recursion?
- A.
S → AB A → Aa | b B → c - B.
S → Ab | Bb | c A → Bd | ε B → e - C.
S → Aa | B A → Bb | Sc | ε B → d - D.
S → Aa | Bb | c A → Bd | ε B → Ae | ε
Attempted by 474 students.
Sign up free to check your answer
Sign up freeLoading lesson…