A stack follows which access principle?
- A FIFO
- B LIFO
- C Random access
- D Priority order
Explanation
A stack is a Last-In-First-Out (LIFO) structure: the element added most recently is the first one removed.
A stack follows which access principle?
A stack is a Last-In-First-Out (LIFO) structure: the element added most recently is the first one removed.