Consider the following two parse trees for the expression: $6 - 4 - 3$
list list
/ | \ / | \
/ | \ / | \
list --- number number --- list
/ | \ | | / | \
/ | \ | | / | \
list - number 3 6 number --- list
| | | |
| | | |
number 4 4 number
| |
| |
6 3
(a) (b)
Next, consider the below statements:
- The parse tree (a) represents right associative operator evaluation and the parse tree (b) represents left associative evaluation.
- The grammar generating the sentence is not ambiguous.
Which of the above statements are FALSE?
- Only $2$
- $1$ and $2$
- Only $1$
- Both statements are correct