how to empty a queue in c code example Example: restting a queue stl // To clear the queue Q defined as "queue<int> Q" Q = queue<int>();