0

Vectors in C++

Can someone please explain me how can I find the size of vector passed to a function if function declaration is given by function(const vector<int> &v); kindly explain calling v.size() is not working for me. Thanks in advance.

29th Jul 2017, 10:10 PM
Lovish Arora
Lovish Arora - avatar
1 Réponse
+ 2
What do you mean it's not working? It should
29th Jul 2017, 10:45 PM
aklex
aklex - avatar