Site Links
Question #1
When written as a template class, the vector class can be used to create a simple array of integers or an array of classes.
Question #2
The vector class overloads the assignment operator and the subscript operator.
Question #3
Member functions allow the programmer to overwrite memory outside of the vector.
Question #4
Member functions allow the programmer to change the size of the vector.
Question #5
The length function returns an integer value which is the length of the vector.