Computer Science, asked by CJ1151, 6 months ago

How does stack overflow and underflow occur?​

Answers

Answered by Anonymous
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.

\huge\red{\ddot\smile}\huge\red{\ddot\smile}\huge\red{\ddot\smile}\huge\red{\ddot\smile}\huge\red{\ddot\smile}\huge\red{\ddot\smile}\huge\red{\ddot\smile}

Answered by MohitKumarBhardwaj
0

Answer:

i hope it helps u

Explanation:

plz marks me as brainliest

Attachments:
Similar questions