If the size of the array used to implement a circular queue is MAX_SIZE. How rear moves to traverse inorder to insert an element in the queue? - Study24x7
Social learning Network
20 May 2019 10:29 AM study24x7 study24x7

 If the size of the array used to implement a circular queue is MAX_SIZE. How rear moves to traverse inorder to insert an element in the queue?
See more

A

rear=(rear%1)+MAX_SIZE

B

rear=(rear+1)%MAX_SIZE

C

rear=rear+(1%MAX_SIZE)

D

rear=rear%(MAX_SIZE+1)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles