Deletion in circular queue by R4R Team

Following is the function that are used to delete the item in circular queue:

program-

int deletion()
{
if(front==-1)
{
printf("Queue underflow\n");
return;
}
if(rear==front)
{
front=-1;
rear=-1;
}
else
if(front==MAX-1)
front=0;
else
front=front+1;
}




Leave a Comment:
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!