Assuming you are comparing indexing, for example. int values[M*N]and int values[M][N]accordingly, in practice they will create equivalent code.
However, if you use values[row][col]for indexing, for example. int (*values)[N]then this is another matter ...
source
share