This program illustrates the member functions reserve() and resize() for vector objects. Press Enter to continue ... To begin we have, for v1: Size = 0 Capacity = 0 Contents: Press Enter to continue ... After v1.reserve(6) we have, for v1: Size = 0 Capacity = 6 Contents: Press Enter to continue ... After v1.resize(4) we have, for v1: Size = 4 Capacity = 6 Contents: 0 0 0 0 Press Enter to continue ... To begin we have, for v2: Size = 10 Capacity = 10 Contents: 3 3 3 3 3 3 3 3 3 3 Press Enter to continue ... After v2.reserve(6) we have, for v2: Size = 10 Capacity = 10 Contents: 3 3 3 3 3 3 3 3 3 3 Press Enter to continue ... After v2.reserve(16) we have, for v2: Size = 10 Capacity = 16 Contents: 3 3 3 3 3 3 3 3 3 3 Press Enter to continue ... After v2.resize(8) we have, for v2: Size = 8 Capacity = 16 Contents: 3 3 3 3 3 3 3 3 Press Enter to continue ... After v2.resize(12) we have, for v2: Size = 12 Capacity = 16 Contents: 3 3 3 3 3 3 3 3 0 0 0 0 Press Enter to continue ... After v2.resize(6, -1) we have, for v2: Size = 6 Capacity = 16 Contents: 3 3 3 3 3 3 Press Enter to continue ... After v2.resize(10, -1) we have, for v2: Size = 10 Capacity = 16 Contents: 3 3 3 3 3 3 -1 -1 -1 -1 Press Enter to continue ... After v2.resize(20, -2) we have, for v2: Size = 20 Capacity = 24 Contents: 3 3 3 3 3 3 -1 -1 -1 -1 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 Press Enter to continue ...