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 __________.

  1. A.

    Full stack

  2. B.

    Overflow-free stack

  3. C.

    Infinite capacity stack

  4. 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.

Explore the full course: Cocubes Preparation