Multiple choice

In what order are the elements of a pushdown stack accessed?

  1. First In First Out (FIFO)

  2. Last In Last Out (LILO)

  3. Last In First Out (LIFO)

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Stacks follow the Last In First Out (LIFO) principle, where the most recently added item is the first one removed.