Home » C++ Programming » Questions and Answers » Question
  1. Pick out the correct statement about vector.
    1. vector values (10)
    2. vector<int> (10)
    3. vector<int> values (10)
    4. All of above
    5. None of these
Correct Option: C

The syntax for declaring the vector element is vector<type> variable_name (number_of_elements);



Your comments will be displayed only after manual approval.