What does ‘stack underflow’ refer to?
A. accessing item from an undefined stack
B. adding items to a full stack
C. removing items from an empty stack
D. index out of bounds exception
Answer:C
What does ‘stack underflow’ refer to?
A. accessing item from an undefined stack B. adding items to a full stack C. removing items from an empty stack D. index out of bounds exception
Explanation: Stack underflow occurs when objects are removed from an empty stack.