Advertisements
Advertisements
प्रश्न
State TRUE or FALSE for the following case:
Stack does not follow LIFO rule.
विकल्प
True
False
MCQ
सत्य या असत्य
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?