by THBC · 2y ago · 0 comments
No, it’s not. The concept of having a pointer to a pointer has nothing to do with the concept of dimensionality.
You must be thinking of lists of lists (of lists…), which can be implemented using pointers. The dimensionality, however, comes from the structure of the list, not from the pointers.
I’m certainly not thinking of a list-of-lists. In actuality, pointers ARE dimensionality, regardless of the intended use.
I’m not going to spell that out further. If you can’t see that, then you’ve got some work to do if you’re maintaining a C codebase.