Why it is not displaing correct value after removing items from queue
Some errors i noticed make your main function with int type here void not woRkiNg . Second thing in line 73 u wrote if(front=-1 && rear==-1) See first condition front =-1 . You cannot assign value in if condition you need to write only condition You have not intilize any Value to i variable check it . You code woRkiNg infinite times check condition again .
Thanks you so much .■.