vec.resize(100) will append 75 value initialized elements at the end of vec. vec.resize(10) will remove 90 elements from the end of vec.