MCPcopy Create free account
hub / github.com/Lakhankumawat/LearnCPP / Display

Function Display

Q-Queue/CircularQueueUsingArray.cpp:32–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Display(){int i;
33if(front==-1 && rear==-1)
34 {cout<<"Circular Queue is empty"<<endl;}
35 else
36 {
37 cout<<"The Circular Queue is :"<<endl;
38 for (i=front; i!=rear;i= (i+1)%50)
39 cout<<queue[i]<<" ";
40 cout<<queue[i]<<endl;
41 }
42
43}
44
45
46

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected