Creating vector Objects
Lines 14–15 create two
vector objects that store values of type
integers1 contains seven elements, and
integers2 contains 10 elements. By default, all the elements of each
vector object are set to
vectors can be defined to store most data types, by replacing
vector<int> with the appropriate type.