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

Answer: D. IsEmptyIsEmpty is the operation that checks whether the stack is empty or not.

  1. A.

    Underflow

  2. B.

    Overflow

  3. C.

    Peek

  4. D.

    IsEmpty

Attempted by 823 students.

Show answer & explanation

Correct answer: D

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

Explore the full course: Coding For Placement

Loading lesson…