Trying to pop an element from an empty stack results into a special condition called __________.
Trying to pop an element from an empty stack results into a special condition called __________.
Solution
✅ Correct Option: 2
Popping from an empty stack means there is no element left to remove, so the stack has "run under" its lowest limit. This condition is called underflow.
Option 1: overflow is the opposite case, pushing an element onto a stack that is already full.
Options 3 and 4: pushflow and popflow are not standard terms in data structures.
Related questions:
2025: 14 May Shift 1
2025: 20 May Shift 1
2025: 13 May Shift 2