Question: 6. Complete the following code to fill an array, then select the correct continuation test for the for-loop. int main (0) int size, i; scanf(%d,
6. Complete the following code to fill an array, then select the correct continuation test for the for-loop. int main (0) int size, i; scanf("%d", &size); int arr[size]; for( i-1; scanf("%d" printf("%d", arr[i]); The code will not work with any continuation test because the first element read is saved in position [1] the array instead of index position [0] i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
