Consider the grammar with the following translation rules and E as the start symbol
Compute E.value for the root of the parse tree for the expression:$2$ # $3$ & $5$ # $6$ & $4$
we can do in simple manner ...
here # is multiplication and & is addition by semantics rules given in the question ...
and by observation of productions ..
$((2*(3+5))*(6+4)) =160$ so ans should be (C).
Can you please explain how and both &,# are left associative ???