Which data structure is primarily used to evaluate a postfix expression?
Options
- A. Queue
- B. Tree
- C. Stack
- D. More than one of the above
- E. None of the above
Quiz Practice:
C. Stack
Correct Answer: C. Stack
Explanation: A stack is used to evaluate postfix expressions.
Example: 23+ evaluates to 5.