Q.

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. (rear+1) % CAPACITY
2.6k
0
Do you find this helpful?
25

View all MCQs in

Data Structures (DS)

Discussion

No comments yet

Related MCQs