hwo to intialise a vector in c++ with empty size 2 code example
Example: declare vector of size n in c++
#include <vector>
auto n = 20
// create a vector with n=20 integer elements
std::vector<int> arr(n);
#include <vector>
auto n = 20
// create a vector with n=20 integer elements
std::vector<int> arr(n);