a) rear=(rear%1)+MAX_SIZE
b) rear=(rear+1)%MAX_SIZE
c) rear=rear+(1%MAX_SIZE)
d) rear=rear%(MAX_SIZE+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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
If the size of the array used to implement a circular queue is MAX_SIZE. How rear moves to traverse inorder to insert an
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!