C++ Deque clear()C++ Deque clear() function removes all the elements from the deque and the size of the deque is reduced to zero. SyntaxParameterIt does not contain any parameter. Return valueIt does not return any value. ExampleLet's see a simple example Output: Content of first deque:1 2 3 Now,Content of first deque:4 5 6 Next TopicC++ Deque |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India