Tag Archives: grid

The following grid shows the state of a 2D array: (Exhibit) This grid is created with the following code:

The following grid shows the state of a 2D array:This grid is created with the following code:Which line of code, when inserted in place of //line n1, adds an X into the grid so that the grid contains three consecutive X’s? A. grid[2][0] = ‘X’; B. grid[0][2] = ‘X’; C. grid[1][2] = ‘X’; D. grid[1][3] = ‘X’; E.… Read More »