Vidyalelo
Data Structure · Q12

Queues in Data Structures

Programming · Data Structure · question 12

Q12

What will happen if you try to dequeue from an empty queue?

A.
An error is thrown
Answer
B.
The operation succeeds with a null value
C.
The queue automatically grows
D.
Nothing happens

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board