32. For the same input string, which of the following options is true in the case of ambiguous grammar?
(i) two different parse trees
(ii) two leftmost derivations
(iii) two rightmost derivations
(iv) leftmost and rightmost derivations are different
Which one is correct?
- (A)
(i), (ii), (iii) are true; (iv) is false
- (B)
(i) is true; (ii), (iii), (iv) are false
- (C)
(i), (iv) are true; (ii), (iii) are false
- (D)
(i) is false; (ii), (iii), (iv) are true
