Answers for "c++ how to return an empty vector"

C++
-1

c++ how to return an empty vector

return vector<int>();
//or
return{};
Posted by: Guest on June-17-2020

Browse Popular Code Answers by Language