Home » C++ Programming » Questions and Answers » Question
  1. Which of the following type does the container should define?
    1. Vector type
    2. Storage type
    3. Iterator type
    4. All of above
    5. None of these
Correct Option: C

Every container must define an iterator type. Iterators allow algorithms to iterate over the container’s contents.



Your comments will be displayed only after manual approval.