What is the difference between declaring a 2D array in C++ like this:
int mp[3][3]={{0,2,1},
{0,2,1},
{1,2,0}};
And this?
int mp[3][3]={0,2,1,
0,2,1,
1,2,0};
Is the above an array where all 3 elements are arrays themselves while the bottom one is an array of non-array elements or are both read by the compiler as the same?