How does stack overflow and underflow occur?
Answers
Answered by
4
Underflow happens when we try to pop an item from an empty stack.
Overflow happens when we try to push more items on a stack than it can hold.
Answered by
0
Answer:
i hope it helps u
Explanation:
plz marks me as brainliest
Attachments:
![](https://hi-static.z-dn.net/files/d15/2471530a1cef057e8247e3952391d801.jpg)
Similar questions