04.Types of queue
04.Types of queue
Visual PPT
Kinesthetic Workbook
STEP 2: ACQUISITION
2.4 CIRCULAR QUEUE
In Circular Queue, the insertion of a new element is performed at the very first location of
the queue if the last location of the queue is full, in which the first element comes just after
the last element.
pri_que[i] = -99;
rear--;
if (rear == -1)
front = -1;
return;
}
}
printf("\n%d not found in queue to delete", data);
}