C program for addition of two matrices in C

Output
Note : 2-D array needs two nested for loops
  1. One Matrix can be added with another only if the order of both matrices is Equal
  2. No of rows of MAT-1 = No of rows of MAT-2
  3. No of col of MAT-1 = No of col of MAT-2
  4. During addition a[0][0] is added with b[0][0] and result is stored in c[0][0]

Special Note :
We required two ‘for loops’ (nested) for following Perpose :

  1. Accepting Matrix
  2. Displaying Matrix
  3. Manipulating Matrix
  4. Performing Different Operations on Matrix