Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
Which of the following sets the value for the 4th row and 2nd column of a 2D array called intArr to 17?
intArr
intArr[4][2] = 17;
intArr[2][4] = 17;
intArr[3][1] = 17;
intArr[1][3] = 17;
intArr[1][4] = 17;