Last In First Out (LIFO) is used for?
- Queue management
- Sorting algorithms
- Stack operations
- File storage
Explanation
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
Related MCQs
Leave a Reply
Your email address will not be published. Required fields are marked *