You are on page 1of 1

QUEUE IMPLEMENTATON USING ARRAY

OUTPUT:

You have the f o l l ow ing cho i ce :


1 . Inse r t
2 .De le te
3 .P r in t
4 .Ex i t

Ente r the cho i ce1:


Ente r the e lement to be i n se r ted1:
Rear=0

Ente r the cho i ce1:


Ente r the e lement to be i n se r ted2:
Rear=1

Ente r the cho i ce1:

Ente r the e lement to be i n se r ted3:


Rear=2

Ente r the cho i ce2:


The i t em i s de le ted i s 1

Ente r the cho i ce3:


Fron t=1 & Rear=2

The cu r ren t s ta te o f queue i2s : 3

Ente r the cho i ce4:

1 | Page aqueue o/p

You might also like