Consider the context-free grammar G below for arithmetic expressions:
E → E + E | E × E | id
Which of the following statements is TRUE:
- (A)
The string “id + id × id” has no parse tree according to G
- (B)
The string “id + id × id” has only one parse tree according to G
- (C)
The string “id + id × id” has exactly two parse trees according to G
- (D)
The string “id + id × id” has more than two parse trees according to G
