Q
In which order does C/C++ store multidimensional arrays?
-
A
Row-major order
-
B
Random order
-
C
Column-major order
-
D
Implementation-defined
Correct Answer:
A. Row-major order
Explanation:
Fortran and MATLAB use column-major order. C and C++ use row-major order.