Deleting from an empty stack raises an exception called:
AUndercut
BUndergo
CUnderflow
DUnderload
Answer & Solution
Correct answer: C. Underflow
1. A stack can be emptied completely.
2. Popping once more has nothing to return.
3. Trying to delete an element from an empty stack results in an exception called underflow.
4. So the answer is underflow.
_Source: syllabus Computer Science, Ch 3 'Stack' and Ch 4 'Queue'_
Keep practising Stacks and Queues
Browse all Stacks and Queues questions for IGNOU MCA, or explore more Computer Science topics.