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:A
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
Explanation:The syntax for declaring the vector element is vector<type> variable_name (number_of_elements);