An array can be viewed as a pointer to its first element. For a 2d array, that element just happens to be an array too.
So if you're passing your array to a function, chances are you're passing it as a pointer.
An array can be viewed as a pointer to its first element. For a 2d array, that element just happens to be an array too.
So if you're passing your array to a function, chances are you're passing it as a pointer.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)