C Program to Find Sum of Diagonals of Matrix

OUTPUT: