Front and rear difference in Queue by R4R Team

following is the function that are used to find the difference between the value of front element and rear item.

int diff()
{
return front->data-rear->data;
}




Leave a Comment:
Search
Categories
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!