Trying to push onto a full stack causes:
2025
Trying to push onto a full stack causes:
- A.
Stack underflow
- B.
Stack overflow
- C.
Memory leak
- D.
No effect
Attempted by 153 students.
Show answer & explanation
Correct answer: B
Pushing an item onto a stack that is already full causes stack overflow.