Advertisements
Advertisements
Question
State TRUE or FALSE for the following case:
PUSH operation may result into underflow condition.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
In push operation, we add a element in a stack and while adding element a stack should not be full otherwise overflow condition will occur. While Underflow condition occurs when we try to pop (delete) an element from a empty stack . Hence PUSH operation never result into underflow condition.
shaalaa.com
Is there an error in this question or solution?