Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:46 pm
by answerhappygod
a) rear=(rear%1)+MAX_SIZE
b) rear=(rear+1)%MAX_SIZE
c) rear=rear+(1%MAX_SIZE)
d) rear=rear%(MAX_SIZE+1)