0
Why is it not giving right output?
3 ответов
+ 2
Line 11 is the problem:
scanf("%d""%d",&i,&j);
I believe your intention is to input array values here. Instead, use:
scanf("%d", &arr[i][j]);
+ 1
Thanks Brian
0
Printing the array is fine, reading storing it is not.