Compiler Design

Which term refers to a property of a formal grammar where a single string can be produced by more than one distinct parse tree?

Correct answer

D. Grammar ambiguity

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.