Much the same except you have two co-ordinates. Think of it in terms of rows and columns. So an array with three rows and five columns would be something like:
#define NUM_ROWS 3
#define NUM_COLS 5
int array[NUM_ROWS][NUM_COLS];
int row, column;
for (row = 0; row < NUM_ROWS; row++)
{
for (column = 0; column < NUM_COLS; column++)
{
array[row][column] =
}
}