The initial configuration of circular queue is as follows:(Assume initially front pointer points to the node carrying data q).

what is the status if queue content after the following sequence of steps are performed on the circular queue

i) enqueue ‘a’

ii) dequeue

iii) enqueue ‘b’

iv) dequeue

v) enqueue ‘c’

vi) dequeue

"--" represents empty node.

1
a – c  b –
2
– a  b – c
3
c  a – b –
4
a  b  c – –

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation