a) rear++
b) (rear+1) % CAPACITY
c) (rear % CAPACITY)+1
d) rear–
In a circular queue, how do you increment the rear end of the queue?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In a circular queue, how do you increment the rear end of the queue?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!