What determines the order of evaluation of a prefix expression?
2025
What determines the order of evaluation of a prefix expression?
- A.
precedence and associativity
- B.
precedence only
- C.
associativity only
- D.
depends on the parser
Attempted by 439 students.
Show answer & explanation
Correct answer: A
Answer: a
Explanation: Precedence is a very important factor in determining the order of evaluation. If two operators have the same precedence, associativity comes into action.