if we check for the condition that queue is full than we will give this condition
if((front==0&&rear==SIZE-1)||(front==rear+1))//this condition will check the queue and print that queue will be full.
and for the empty queue
if(front==rear==-1)//this is the condition for checking that queue is empty