delwete last element of vector in c++ code example Example: pop_back Removes the last element of the vector