Hi,
Can nyone tell me how memory is allocated for a multi dimensional array.
I know that an array occupies contiguous memory. But what about multi dimensional
array?
thanks in advance
Hi,
Can nyone tell me how memory is allocated for a multi dimensional array.
I know that an array occupies contiguous memory. But what about multi dimensional
array?
thanks in advance
Also contiguous memory, with the farthest-to-the-right dimension changing "fastest" (i.e. you have 0,0,0, then 0,0,1, then 0,0,2, etc).
@tabstop: Thanks for the help