Assume there is an N-dimentional array:
type list[S1][S2]...[SN]
How to create a pointer to this?
One could create another N-1-dimentional array of pointers by getting addresses of the lowest-level arrays, then getting addresses of the newly created arrays of pointers and so on, but this sounds like a complete mess. Typedef
may come in handy, but that is not a fast way as well.
What options are there to create a pointer to the whole array or to any level of this array?