Friday 30 September 2011

displaying the queue


displaying the queue

void display()
{
 if(isempty())
  cout<<"queue is empty (or) underflow\n";
else
  for(int i=f;i<=r;i++)
   cout<<a[i]<<"\n";
}


 Queues


Queues operations (or) implementing the Queues

No comments:

Post a Comment