Advertisements
Advertisements
Question
State TRUE or FALSE for the following case:
Stack does not follow LIFO rule.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
A stack is a linear data structure and LIFO (last in, first out) abstract data type. It is an ordered collection of items where a item may be inserted and from where a items may be deleted at one end only. LIFO means the element which inserted last will be deleted first and stack follows LIFO rule.
shaalaa.com
Is there an error in this question or solution?