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$
Here # is multiplication and & is addition by semantics rules given in the question.
By observation of productions,
So, we can solve the expression as $((2*(3+5))*(6+4)) =160$
Answer is (C).
Can you please explain how and both &,# are left associative ???