Question
Pick out the correct statement about vector.
a) vector<int> values (5)
b) vector values (5)
c) vector<int> (5)
d) None of the mentioned
Answer: Option D
Was this answer helpful ?
Answer:a
Explanation:The syntax for declaring the vector element is vector<type> variable_name (number
_of_elements);
Was this answer helpful ?
More Questions on This Topic :
Question 5.
What do vectors represent?
....
Submit Solution