A circular queue of characters is implemented using a linear array [1..6]. The…

A circular queue of characters is implemented using a linear array [1..6]. The array currently contain array [a, b, _ , _ , _ ,c]. If one is deleted and two are added. What would be the positions of rear and front pointers?

  1. A.

    1, 6

  2. B.

    3, 4

  3. C.

    4, 1

  4. D.

    5, 4

Attempted by 247 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…