The operation to check whether the stack is empty or not is known as ______.

2024

The operation to check whether the stack is empty or not is known as ______.

  1. A.

    Underflow

  2. B.

    Overflow

  3. C.

    Peek

  4. D.

    IsEmpty

Attempted by 514 students.

Show answer & explanation

Correct answer: D

IsEmpty is the operation that checks whether the stack is empty or not.

Explore the full course: Cocubes Preparation