GATEverse
← GATE CSE 2001

Q18

MCQMarks unknown

S→aSbS∣bSaS∣ϵS \rightarrow aSbS\mid bSaS \mid \epsilon Construct all possible parse trees for the string abab. Is the grammar ambiguous?

Sign in to save attempts.

Loading…