Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ how to return an empty vector

return vector<int>();
//or
return{};
 
PREVIOUS NEXT
Tagged: #return #empty #vector
ADD COMMENT
Topic
Name
1+1 =