In C we have two dimensional arrays, i.e. a[m][n]
.
In one dimensional arrays a
is a pointer to the start of the array.
What about two dimensional arrays? Does a[i]
hold a pointer to the start of the i
row in an array? And thus a[i]
is an array of pointers that is passed to a function in the following matter function(int **a, m, n)
?