A) underflow of stack
B) overflow of stack
C) both a and b
D) None of the above
Correct Answer: A
Solution :
[a] If a user tries to remove an element from the empty stack, then it called Underflow of stack and in this situation the top variable will always contain -1.You need to login to perform this action.
You will be redirected in
3 sec