Mark As Completed Discussion

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

Which method is used to add elements to the end of a vector?

Click the option that best answers the question.

  • resize()
  • push_back()
  • pop_back()
  • insert()