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