+1 vote
in Data Structures & Algorithms I by (110k points)
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

What is the answer? Thanks in advance

1 Answer

+1 vote
by (550k points)
selected by
Best answer
Correct answer is (c) removing items from an empty stack

The best explanation: Removing items from an empty stack is termed as stack underflow.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.