A stack is commonly used to evaluate expressions written in which notation?
- A Infix notation
- B Prefix notation
- C Postfix notation
- D Binary notation
Explanation
Postfix (Reverse Polish) notation is evaluated with a stack: operands are pushed and operators pop two operands, apply the operation and push the result.