A stack follows which order?

2025

A stack follows which order?

  1. A.

    FIFO

  2. B.

    LIFO

  3. C.

    LILO

  4. D.

    Random

Attempted by 201 students.

Show answer & explanation

Correct answer: B

A stack follows Last-In, First-Out order: the most recently pushed item is popped first.

Explore the full course: Coding For Placement