Queue is a FIFO data structure. It is used in all situations where the values returned must be in the same order as values entered. We have discussed the terminologies, function needed and also implemented a queue in C language earlier. We can implement a queue by using an array or a linked list for storing values. Let us look at array implementation of a queue in C++ Data members We will need the array, front, rear and size of the array. We can use a static array or a dynamic array. class Queue { static int size; int arr[ 40 ]; int front,rear; public: Queue(); void enqueue ( int num); int dequeue (); bool is_empty (); bool is_full (); void display (); static int ERR_EMPTY; }; int Queue :: ERR_EMPTY =- 9999 ; int Queue :: size = 40 ; Why are we using two static members in this class. size is the array size. And ERR_EMPTY is a constant which can be returned from dequeue function when the queue is empty. Const...