Can someone help me map this array?
int a[5][5] = {{1,2,3,4,5},{6,7,8,9,10},{11,12,13,14,15}, {16,17,18,19,20}, {21,22,23,24,25}};
I'm thinking
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
but I don't think that's right, lol.
I'm having a bit of a tough time learning multidimensional arrays, as you can see, lol.
Last edited on