C++ Vector shrink_to_fit()This function is used to change the capacity of the vector and makes it equal to the size of the vector. SyntaxConsider a vector 'v'. Syntax would be: ParameterIt does not contain any parameter. Return valueIt does not return any value. Next TopicC++ Vector |
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