Well, the articles that you linked are correct, as far as I see. So you now only need to read them.

Probably you're misled by all those rows and columns. In a computer, memory is one dimensional. You're always adressing it so that subsequent accesses hit subsequent locations. As you see in the heatmap code. That's valid for all languages because of cache efficiency, and is unrelated to "row major" or other military ranks.

If you have any other question about array adressing or caches, just ask.