adplus-dvertising
frame-decoration

Question

The context free grammar is ambiguous if

a.

The grammar contains non-terminals

b.

Produces more than one parse tree

c.

Production has two non-terminals side by side

d.

None of the mentioned

Answer: (b).Produces more than one parse tree

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The context free grammar is ambiguous if