Table 1: Arrays of two dimensions.

Row-Major

Column-MajorC 1 Q Q Q n
C 2Q Q Q Q n
C 3Q Q Q Q n
Q m Q m Q m Q m n