Q UEUE IMPLE MENTATO USING ARRA N Y

O UTPUT: 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 ted : 1 Rear=0 Ente r the cho i ce1 : Ente r the e lement to be i n se r ted : 2 Rear=1 Ente r the cho i ce1 : Ente r the e lement to be i n se r ted : 3 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 i s : 2 Ente r the cho i ce4 : 3

1 | Page aqueue o/p

Sign up to vote on this title
UsefulNot useful