Computer Science, asked by Neelimma8905, 1 year ago

In a stack if user tries to remove element from the empty stack then it is called as__________.

Answers

Answered by dessuabewa
13

since we cant remove from an empty list it causes stack underflow

Answered by mariospartan
3

Answer:

In a stack, if a user tries to remove element from the empty stack then it is called as underflow.  

Explanation:

In stack, Operations we use push and pop operation. During the full stack condition, the user may use the push operation. But, when the user uses pop operation on the empty stack, it creates underflow condition.

Other than pop and push operations, garbage collection is also proceeded which recovers the memory used by the objects being not in use.

Similar questions