type arrName[rows][cols];
example:
int score[4][5];
score[0][0] = 10;
score[1][3] = 50;
int bonus[2][3] = {
1, 2, 3,
4, 5, 6
};
int bonus[2][3] = {
{1, 2, 3},
{4, 5, 6}
};
We can also skip elements, which are automatically populated as 0.
int bonus[2][3] = {
{1, 2},
{3}
};
same as:
int bonus[2][3] = {
{1, 2, 0},
{3, 0, 0}
};