Vidyalelo
Data Structure · Q28

Queues in Data Structures

Programming · Data Structure · question 28

Q28

What will happen if you attempt to enqueue an element in a queue that is full (in a fixed-size queue)?

A.
The element is added to the queue
B.
The queue automatically resizes
C.
An overflow error occurs
Answer
D.
The element is ignored

Answer: Option C

Solution

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