The necessary condition to be checked before deletion from the queue is
Show answerHide answer
Correct answer: (B) underflow
Explanation
Before deleting, check for underflow (an empty queue). Overflow is checked before inserting.
Correct answer: (B) underflow
Explanation
Before deleting, check for underflow (an empty queue). Overflow is checked before inserting.
This is question 80 of BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.