If circular queue is implemented using array having size MAX_SIZE in which…
If circular queue is implemented using array having size MAX_SIZE in which array index starts with 0, front points to the first element in the queue, and rear points to the last element in the queue. Which one of the following conditions used to specify that the circular queue is empty?
- A.
Front=rear= -1
- B.
Front=rear=0
- C.
Front=rear+1
- D.
None of the above
Attempted by 595 students.
Sign up free to check your answer
Sign up freeLoading lesson…