Question
Easy

In a stack, if a user tries to remove an element from an empty stack, it is called:

1
Underflow
2
Empty collection
3
Overflow
4
Garbage collection
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Data Structures (Through C++)
Topic: Stack
Correct Answer
Option A
Explanation

The correct option is (1): The fundamental operation for removing an element from a stack, which is governed by the Last-In-First-Out (LIFO) principle, is called Pop. When an attempt is made to perform this Pop operation on a stack that currently holds zero elements—that is, it is empty—the resulting error condition is formally known as Underflow. This term is crucial in data structures to signify that a requested operation, the…Read More

In a stack if - HTET Level 3 | Clear Cutoff