6 Different Ways to Initialize a Vector in C++

QuickSort in C++ Implementation

Learn how you can initialize a vector in C++ in 6 different ways. The vector in C++ acts as an array or list. Since it comes with great inbuilt functions to perform different operations and initialization hence it is always recommended to use vectors instead of arrays in C++. Vector is part of STL(Standard Template … Read more