push_back Description : Add new elements to the vector Example: //Declare the vector std::vector<int> vector1; //Function to push_back values to the vector vector1.push_back(1); vector1.push_back(2); See Sample code Run Code