Mark As Completed Discussion

Build your intuition. 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()