-- Nov 2 In-Class Exercise Thread
Because the array has 3*4=12 integers and each integer takes 4 bytes there will be 12*4=48 bytes of memory.
The values would be written in memory row by row, so [0,1,2,3,4,5,6,7,8,9,10,11]. The bytes at a[0][2] would be 0000 0000 0000 0000 0000 0000 0000 0002
Because the array has 3*4=12 integers and each integer takes 4 bytes there will be 12*4=48 bytes of memory.
The values would be written in memory row by row, so [0,1,2,3,4,5,6,7,8,9,10,11]. The bytes at a[0][2] would be 0000 0000 0000 0000 0000 0000 0000 0002