In a circular queue implementation using array of size 5, the array index…

PYQ TCS NQT 2025

In a circular queue implementation using array of size 5, the array index starts with 0 where front and rear values are 3 and 4 respectively. Determine the array index at which the insertion of the next element will take place.

  1. A.

    5

  2. B.

    0

  3. C.

    1

  4. D.

    2

Attempted by 486 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…