prog.c: In function ‘main’:
prog.c:19:40: error: ‘i’ undeclared (first use in this function)
printf("the sum of colume %d is %d\n",i,sum);
^
prog.c:19:40: note: each undeclared identifier is reported only once for each function it appears in
prog.c:6:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^~~~~~~~~~~~~~~~~~~~
prog.c:11:4: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&arr[i][j]);
^~~~~~~~~~~~~~~~~~~~~~