In a circular queue using arrays, the rear is at index 4, front is at index 2, and capacity = 5. Which expression checks if the queue is full?
Show answerHide answer
Correct answer: (D) ((rear + 1) % capacity == front)
Correct answer: (D) ((rear + 1) % capacity == front)
This is question 180 of CIL MT Systems PYQ, 24 Aug 2026 (3:00 PM, CBT-26). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.