I once saw code (from a source apparently reliable enough to cause me to remember it) that seemed to convey the length of the array while passing them in a funtion (See example below):
void foo(int [m][n] array)
{
//m and n are the rows and columns of the array
//code
}
However, I'm unable to find that source and am beginning to wonder if I got it all wrong and maybe, even imagined it? Can someone care to comment?