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:
Similar questions
Social Sciences,
4 months ago
Math,
4 months ago
Hindi,
9 months ago
Math,
1 year ago
Economy,
1 year ago