Multiple Choice
What does the following statement do? vector<int> v(10) ;
A) It creates a vector object and initializes all of its elements to the value 10.
B) It creates a vector object with a starting size of 10.
C) It creates a vector object and initializes the first element with the value 10.
D) It creates a vector object that can store only values of 10 or less.
Correct Answer:

Verified
Correct Answer:
Verified
Q8: An array can store a group of
Q8: An individual array element can be processed
Q11: An element of a two-dimensional array is
Q16: This vector function returns true if the
Q18: What will the following code do?
Q20: What is the last legal subscript that
Q35: When you pass an array as an
Q37: The individual values contained in array are
Q42: An array can easily be stepped through
Q53: This vector function returns the number of