pop last elemenet form vector code example Example: c++ remove last element from vector vector.pop_back();