Last In First Out (LIFO) is used for?

  • AQueue management
  • BSorting algorithms
  • CStack operations
  • DFile storage
Show answerHide answer

Correct answer C

LIFO stands for Last In First Out It is a principle used in stack data structures, where the last item added is the first one removed. This "last-in, first-out" order is the defining characteristic of a stack.