Greetings,
There are a few issues with the program. Nothing major though.
Firstly, frrossk showed the first issue. The new line should only take place after the first loop is continuing, not the second loop. Also, the lines of:
printf("%4d ",c[i][j]);
c[i][j]=a[i][j]+b[i][j];
Try flipping the two codes around:
c[i][j]=a[i][j]+b[i][j];
printf("%4d ",c[i][j]);
It would do no good to display a variable and then set it.
-Stack Overflow