How does 2d matrix print to the output? i means if i got a[7][7]
Will it on the first line of the output from left to right or from top to bottom??
For example
i think output should be :Code:int sum; for (i=1; i <= 7; ++i) { for (j=1; j <= 7; ++j) ...... }
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
It prints left to right first or bottom all the 1 first then 2...thanks