Home » C++ Programming » Questions and Answers » Question
  1. Which is optional in the declaration of vector?
    1. Number_of_elements
    2. Vector
    3. Name
    4. Type
    5. None of these
Correct Option: A

The number of elements is optional. An empty vector means, A vector that contains zero elements.



Your comments will be displayed only after manual approval.