Question:medium

Stack works on the principle of ________.

Updated On: Jan 16, 2026
  • Mid Element First
  • First In First Out
  • Last In First Out
  • Last In Last Out
Show Solution

The Correct Option is C

Solution and Explanation

A stack functions on the Last In First Out (LIFO) principle. Consequently, the most recently inserted element is the first to be retrieved. This concept is commonly illustrated with a stack of plates, where additions and removals are restricted to the uppermost plate. The stack data structure primarily supports operations at a single extremity:

  • Push: Appends an element to the stack's apex.
  • Pop: Deletes the element from the stack's apex.

This mechanism guarantees that the most recently inserted element is accessed first, thereby upholding the LIFO methodology.

Was this answer helpful?
0


Questions Asked in CUET (UG) exam