What is the condition called when an element is removed from an empty stack?

Options

  • A. Overflow
  • B. Underflow
  • C. Collision
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Underflow

Detailed Explanation

Correct Answer: B. Underflow

Explanation: Stack underflow occurs when a pop operation is performed on an empty stack.

  • Underflow: Removing an element from an empty stack.
  • Overflow: Inserting an element into a full fixed-size stack.