append a vector into another code example Example: appending a vector in vector a.insert(a.end(), b.begin(), b.end());