Sum of diagonal elements of a mxn matrix Program in C

Sum of diagonal elements of a mxn matrix Program in C
Sum of diagonal elements of a mxn matrix Program in C

WAP that finds the sum of diagonal elements of a mxn matrix.

b. tech. bca c language tutorial learn c language mca study c language