A context-free grammar is ambiguous if:
PYQ GATE 1987
A context-free grammar is ambiguous if:
- A.
The grammar contains useless non-terminals.
- B.
It produces more than one parse tree for some sentence.
- C.
Some production has two non terminals side by side on the right-hand side.
- D.
None of the above.
Attempted by 188 students.
Sign up free to check your answer
Sign up freeLoading lesson…

