Question

A circular queue is implemented in an array of size 8 (indices 0 to 7). The front index is 5 and the rear index (pointing to the last inserted element) is 2. How many elements does the queue currently hold?

A 5
B 7
C 3
D 4
E 6
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)