how to get size of vector in cp code example
Example: finding the size of vector in c++
vector<int> a;
//to directly find the size of the vector;
//use a.size(;
cout <<" " << a.size();
vector<int> a;
//to directly find the size of the vector;
//use a.size(;
cout <<" " << a.size();