← 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?
- A.Adding to a full structure
- B.Removing from an empty structure
- C.Storing a value that is too small for int
- 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 →