/* Matrix Sum of all elements - Program to find sum of all elements of a given matrix */ #include #include void main() { int x[10][10], nr, nc, r, c, sum=0 ; clrscr() ; printf("Enter the number of rows and columns: ") ; scanf("%d %d", &nr, &nc) ; printf("Enter elements of the matrix row-wise: \n") ; for(r=0 ; r