1. Suppose that vecList is a vector container and vecList = {12, 16, 8, 23, 40, 6, 18, 9, 75} Show vecList after the following statement executes:
copy(vecList.begin() + 2, vecList.end(), vecList.begin());
2. Suppose that vecList is a vector container and vecList = {12, 16, 8, 23, 40, 6, 18, 9, 75} Show vecList after the following statement executes:
copy(vecList.rbegin() + 3, vecList.rend(), vecList.rbegin());