Write a c program to find out sum of diagonal element of a matrix.
Correct Answer: #include int main(){ int a[10][10],i,j,sum=0,m,n; printf("\nEnter the row and column of matrix: "); scanf("%d %d",&m,&n); printf("\nEnter the elements of matrix: "); for(i=0;i