Which of the following is the main advantage of a stack over a queue?
Options
- A. It follows FIFO order
- B. It provides Last In First Out access
- C. It always requires less memory
- D. More than one of the above
- E. None of the above
Quiz Practice:
B. It provides Last In First Out access
Correct Answer: B. It provides Last In First Out access
Explanation: A stack provides LIFO access, whereas a queue provides FIFO access.