If you're passing in a multidimensional array, you only need to pass in the size of the first dimension, as you're forced to specify the sizes of the remaining dimensions. That is:
Code:
void f(int a[][5][10], size_t n);
You can only pass in arrays that look like:
where n is whatever size you want. The second dimension will always be 5 and the third 10. You can pass those sizes in, but there's not any particular need to. You can always compute the sizes with sizeof if you don't want to use magic numbers, and this will guarantee the right values.