the following code fills the vector with 10 values in first for loop. in second for loop i want the elements of vector to be printed. The output is till the cout statement before the j loop.Gives error of vector subscript out of range.the following code fills the vector with 10 val