1 2 3 4 5 6 7 8 9 10
|
int arr1[4] = {1, 2, 3, 4};
int arr2[4] = {5, 6};
int arr3[4] = {7, 8, 9};
//can be written as an array of array as:
int ARR[3][4] = { arr1, arr2, arr3 };
//which is basically same as:
int ARR[3][4] = { {1, 2, 3, 4},
{5, 6},
{7, 8, 9},
};
|