Question: 2. Write the C++ code segment to insert value (set to 400 below) into the middle of integer array list at index location 2 (stored

2. Write the C++ code segment to insert value (set to 400 below) into the middle of integer array list at index location 2 (stored in current below). You must do this so it would work for any values assigned to the variables below. So if list contained the value 2,46,8,10 and current was 2, after your code executed the list array would contain 2,4,100,6,8,10: int current 2, value-100; int list [100]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
