Multidimensional Arrays
The dimension of an array is the number of indices of the array.
float temps[10];
- one dimensional array with 10 elements.
-
float t[12][50];
- two dimensional array with 12*50=600 elements. The elements are
t[0][0], t[0][1], t[0][2], ..., t[0][49],
t[1][0], t[1][1], ...,
. . .,
t[11][48], t[11][49].