queue
intQueue.push(18);
intQueue.push(2);
intQueue.push(intQueue.front());
intQueue.push(intQueue.front());
intQueue.pop();
Please provide a complete program if it makes sense.
List the elements in the queue after each of the following operations:
queue
intQueue.push(18);
intQueue.push(2);
intQueue.push(intQueue.front());
intQueue.push(intQueue.front());
intQueue.pop();
Please provide a complete program if it makes sense.
The elements of a queue after each of giving operations are listed.