Which linear data structure operates strictly on a Last-In, First-Out (LIFO) access mechanism?
AQueue
BLinked List
CStack
DBinary Tree
Explanation
A Stack works on LIFO (Last-In, First-Out), where push and pop operations happen at the top element. A Queue operates on FIFO (First-In, First-Out).

No Comments