Multiple Choice
Which statement declares intList to be a vector of size 5 and the element to be of type int?
A) vector intList[5];
B) vector<int> intList(5) ;
C) vector<int> intList() ;
D) vector(int) intList[5];
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q30: With the binary search algorithm, _ key
Q36: The type vector provides the function _,
Q37: In order to apply a(n) _ search,
Q38: The type vector provides the expression _,
Q39: The first element in a vector object
Q40: The type vector provides the expression _,
Q41: The size of a list is fixed
Q42: The statement _ returns the element at
Q45: Assume that n = 1000. To sort
Q46: A variable declared using the vector type