🎙 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 4 of 10

What is underflow?

What is underflow?

  1. A.Adding to a full structure
  2. B.Removing from an empty structure
  3. C.Storing a value that is too small for int
  4. D.A queue whose front is ahead of its rear
Answer & explanation

Correct answer: Removing from an empty structure

Underflow is pop or dequeue on an empty stack or queue.

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 →