While writing C-code for an answer to a question about a limited-memory situation, I wondered whether any memory space can be saved by using a flat array instead of a (rectangular) two-dimensional array (of which the size is known at compile-time).
So, does e.g. char a[200][100]
use more memory space than char a[20000]
?
(I know it does in some languages, but this is specifically about C)