Answers for "intiating a vector"

C++
0

intiating a vector

int size = 3;

// all values as 10.
vector<int> vect(size, 10);
Posted by: Guest on September-26-2021

Browse Popular Code Answers by Language