A normal queue, if implemented using an array (starting with 0 index value) of…

A normal queue, if implemented using an array (starting with 0 index value) of size MAX_SIZE, gets full when?

  1. A.

    Rear = =MAX_SIZE -1

  2. B.

    Front = =(rear +1) mod MAX_SIZE

  3. C.

    Front = =rear +1

  4. D.

    Rear = =front

Attempted by 929 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…