If circular queue is implemented using array having size MAX_SIZE in which…

BPSC TRE · TRE 1.0 · PGT (Classes 11–12) · Computer Science · 26 Aug 2023 · Shift 2 · Subject

If circular queue is implemented using array having size MAX_SIZE in which array index starts with 0, front points to the first element in the queue, and rear points to the last element in the queue. Which one of the following conditions is used to specify that the circular queue is empty?

  1. A.

    Front = rear = –1

  2. B.

    Front = rear = 0

  3. C.

    Front = rear + 1

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 1282 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…