Stack Overflow : When the stack is full and you still try to push an element in, the condition is called stack overflow.Stack Underflow : When the stack is empty and an element is popped of the stack, the condition is called stack underflow.
Stack Overflow : When the stack is full and you still try to push an element in, the condition is called stack overflow.
ReplyDeleteStack Underflow : When the stack is empty and an element is popped of the stack, the condition is called stack underflow.