What is meant by stack overflow?
- A Attempting to push an element onto a full stack
- B Popping an element from an empty stack
- C Reading the top element of a stack
- D Reversing the order of a stack
Explanation
Stack overflow occurs when a program tries to push an element onto a stack that is already full, exceeding its allocated space.