What happens when a deletion operation is performed on an empty queue?
What happens when a deletion operation is performed on an empty queue?
Solution
✅ Correct Option: 2
Deleting from an empty queue is called underflow, because there is no element to remove. Overflow is the opposite case: inserting into a full queue.
Option 1: overflow happens on insertion into a full queue, not on deletion from an empty one.
Option 4: stack overflow relates to a stack (or call stack) exceeding its capacity, not to deleting from a queue.
Related questions:
2026: 11 May Shift 2
2026: 26 May Shift 1
2025: 30 May Shift 2