vectorof size n in cpp code example
Example 1: how to initialize vector
vector<int> vect{ 10, 20, 30 };
Example 2: how to initialize a vector in c++
std::vector<type> name;
vector<int> vect{ 10, 20, 30 };
std::vector<type> name;