Before deletion operation we must check for emptiness of the queue. For the contiotion of the empty queue. when queue is empty.
It also called queue underflow condition.
If ( qp – front = =qp-rear+1)
Printf (“queue underflow condition “);
X=qp- else [qp – front ++];