Pergunta de entrevista da empresa Ubisoft

How 2D arrays are stored in memory,which method is more efficient etc questions were asked.

Resposta da entrevista

Sigiloso

15 de jul. de 2017

There are two ways to store the 2D array 1)Row major 2)Column major, Row major is more efficient as whole row is fetched at once so less number of page fault than column major access.

4