Multiple Choice
Which of the following statements declares intList to be a vector object of size 10?
A) vector intList() ;
B) vector<int> intList(0) ;
C) vector<int> intList(10) ;
D) vector<int> intList;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: Consider the following list: int list[] =
Q9: A sequential search is much faster than
Q10: If the search item is the 900th
Q22: If you initially declare a vector object
Q26: In the insertion sort function, the variable
Q28: The bubble sort makes fewer item assignments
Q30: With the binary search algorithm, _ key
Q36: The statement vector<elemType>_; creates the vector object
Q37: Which of the following statements declares intList
Q40: The type vector provides the expression _,