If the MAX_SIZE is the size of the array used in the implementation of the circular queue.

Question:

If the MAX_SIZE is the size of the array used in the implementation of the circular queue. How is rear manipulated while inserting an element in the queue?

A. rear=(rear%1)+MAX_SIZE

B. rear=rear%(MAX_SIZE+1)

C. rear=(rear+1)%MAX_SIZE

D. rear=rear+(1%MAX_SIZE

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: