🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Stack and Queue in C: all 10 questions

Quiz: Stack and Queue in C · Question 1 of 10

Which order does a stack follow?

Which order does a stack follow?

  1. A.FIFO
  2. B.LIFO
  3. C.Sorted order
  4. D.Random order
Answer & explanation

Correct answer: LIFO

The last item pushed is the first one popped, like a pile of plates.

Can you get the rest right without peeking?

Take the timed Quiz: Stack and Queue in C quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →