C program to add two matrices

C program to add two matrices

Output:

Enter the elements of matrix A:
1 2 3
4 5 6
7 8 9
Enter the elements of matrix B:
1 2 3
4 5 6
7 8 9
The Addition of two matrices A & B is:
2 4 6
8 10 12
14 16 18

Implementation: