write a program to find sum of row and column of a matrix in c