Program to find Sum of Diagonal of a Matrix
Program to find Sum of Diagonal of a Matrix
This C Program find Sum of Diagonal of a Matrix. The following source code of the C program is listed below is used to find Sum of Diagonal of a Matrix. This source code is successfully compiled on a Dev-C++ compiler. The output of the following c program is also shown below. Source Code : //SUM OF DIAGONALS OF A MATRIX #include #include int main() { int a[5][5],b[5][5],m,n,i,j,sum=0;…
View On WordPress












