Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

a) rear++
b) (rear+1) % CAPACITY
c) (rear % CAPACITY)+1
d) rear–

Answer: b
Explanation: Ensures rear takes the values from 0 to (CAPACITY-1).

Join The Discussion