In a circular queue implemented using an array of size 5, if front = 2 and…

TPSC Computer/IT Posts · 2026 · Programmer

In a circular queue implemented using an array of size 5, if front = 2 and rear = 4, how many elements are currently in the queue ?

  1. A.

    2

  2. B.

    3

  3. C.

    4

  4. D.

    Cannot be determined

Attempted by 639 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…