Compiler Design

What does Grammar ambiguity refer to?

Correct answer

C. A property of a formal grammar where a single string can be produced by more than one distinct parse tree.

Explanation

Grammar ambiguity refers to a property of a formal grammar where a single string can be produced by more than one distinct parse tree.