The data structure that follows LIFO is:
-
A
Queue
-
B
Stack
Correct answer
-
C
Array
-
D
Linked list
11 views
Explanation
Stack follows LIFO. Source: FBISE Class 11 Computer Science syllabus-aligned item.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ