Okay, well... apparently I'm wrong. I mean, apparently C treats multi-dimensional arrays and pointers to pointers differently, even though they both use "[][]", and Lite-C treats them a little differently again.

The compiler uses the Array[x][y] -> *(*(Array + x) + y) conversion for pointers, and so it's not uncommon to allocate dynamic arrays in that way so the same syntax can be used. But when you declare an array (rather than create one manually), it works more like Uhrwerk first said.

Sorry about that.


Formerly known as JulzMighty.
I made KarBOOM!