Ordering of C++ Arrays

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Ordering of C++ Arrays.

C++ arrays are stored in row-major order. Row-major order means the last subscript varies the fastest.

Arrays

Show: