In a circular queue implemented using an array, how is the rear counter…

Coal India Management Trainee CBT · 2026 · 2026 System

In a circular queue implemented using an array, how is the rear counter updated after an enqueue operation?

  1. A.

    Reset to zero unconditionally

  2. B.

    No update to rear pointer is needed in the enqueue operation

  3. C.

    The rear counter is incremented but never wrapped around to the start

  4. D.

    Incremented and wrapped around to the start if needed

Attempted by 25 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…