Question DSA-STK-0068
HardIn the shunting-yard algorithm, why is the operator ^ (exponent) treated as right-associative?
- A.
Because it has the lowest precedence
- B.
So that a ^ b ^ c means a ^ (b ^ c)
- C.
Sign up free to see the answer and a step-by-step explanation.