c++ vector<int> initialized to 1 code example Example: how to initialize vector vector<int> vect{ 10, 20, 30 };