$$\begin{align*} \text {stmt} &\rightarrow \text{if expr then stmt else stmt} \\ & \;\; \;\; | \text{ if expr then stmt} \\ & \;\; \;\; | \text{ other} \end{align*}$$
Which of the following statement/s is/are true ??
- A. The grammar is ambiguous and the ambiguity cannot be resolved.
- B. The grammar is unambiguous
- C. The grammar is ambiguous and the ambiguity can be resolved
- D. None of these