A stack in which a stack overflow can never occur is known as __________.
2025
A stack in which a stack overflow can never occur is known as __________.
- A.
Full stack
- B.
Overflow-free stack
- C.
Infinite capacity stack
- D.
Non-overflow stack
Attempted by 427 students.
Show answer & explanation
Correct answer: C
A stack in which a stack overflow can never occur would be a stack of infinite capacity. Stack overflow refers to the condition when the stack is full and we still try to insert an element in the stack.