Question: What are the contents of array after this code? int array[ 6 ] = {10, 20, 30, 40, 50, 60 }; int i; for(i=0;
What are the contents of array after this code? int array[ 6 ] = {10, 20, 30, 40, 50, 60 }; int i; for(i=0; i < 6; i++) 6 7 8 9 { 10 11 12 } 13 if(i 2 == 1) (array 1) = 3; *array 100;
Step by Step Solution
There are 3 Steps involved in it
Lets through the code step by step 1 An integer array array with 6 elements is initial... View full answer
Get step-by-step solutions from verified subject matter experts
