What is the output of the following code?
int list[] = {1 , 2 , 3 , 4 , 5 , 6 };for (int i = 1 ; i<6 ; i++) list[i] = list[i − 1 ];for (int i = 0 ; i<6 ; i++) cout << list[i] << " " ;;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.