How can I pass a multidimensional array to a function in C/C++ ?
The dimensions of array are not known at compile time
I think this is a GCC extension (or a quite modern C feature), but it can be quite convenient:
void foo(int bar[n][m], int n, int m) {...}