Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

What is the purpose of iterators in C++ vectors?

Click the option that best answers the question.

  • To create new vectors
  • To access and modify vector elements
  • To search for specific elements in vectors
  • To sort the elements in vectors