15th Oct 2021, 4:21 PM
Nikhil Agrawal
Nikhil Agrawal - avatar
3 Antworten
+ 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]);
15th Oct 2021, 4:43 PM
Brian
Brian - avatar
+ 1
Thanks Brian
16th Oct 2021, 10:26 AM
Nikhil Agrawal
Nikhil Agrawal - avatar
0
Printing the array is fine, reading storing it is not.
15th Oct 2021, 4:33 PM
arturop200
arturop200 - avatar