how to initialise vector with a value code example
Example 1: how to initialize vector
vector vect{ 10, 20, 30 };
Example 2: vector with initial value
// For declaring
vector v(size, default_value);
// For Vector with a specific default value
// here 5 is the size of the vector
// and 10 is the default value
vector v1(5, 10);