Vidyalelo
Data Structure · Q136

Introduction to Data Structures

Programming · Data Structure · question 136

Q136

A normal queue, if implemented using an array of size MAX_SIZE, gets full when?

A.
Rear = MAX_SIZE - 1
Answer
B.
Front = (rear + 1)mod MAX_SIZE
C.
Front = rear + 1
D.
Rear = front

Answer: Option A

Solution

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