how to make an empty vector in cpp code example
Example 1: how to initialize vector in c++ with all elements 0
vector<int> arr(10,0);
Example 2: how to initialize vector
vector<int> vect{ 10, 20, 30 };
vector<int> arr(10,0);
vector<int> vect{ 10, 20, 30 };