Queues and Operations on it in C
A Queue is an ordered collection of items from which items may be deleted at one end (called the front of the queue) and into which items may be inserted at the other end (the rear of the queue).Queues are first in first out (FIFO) data structures.
Queues are used where the elements are processed in the order in which they arrive-for example the process queue, the print queue.
Operations on a queue:
creates an empty queue
inserts an item to the rear of the queue
removes an item from the front of the queue
returns true is the queue is empty
The condition resulting from trying to add an element onto a full queue.
The condition resulting from trying to remove an element from an empty queue.