find length of vector 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();