Page 1 of 1

In a circular queue, how do you increment the rear end of the queue?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) rear++
b) (rear+1) % CAPACITY
c) (rear % CAPACITY)+1
d) rear–