Program to perform addition of two 2 by 2 matrix

An array is a collective name given to a group of similar variables. In this program we will accept two 2-D array (2 by 2 Matrix) as input from the user. This program will then perform addition of two 2 by 2 matrix. It will then display the result after adding two matrix.

Here is the program for matrix addition. If you found this article useful, do post a comment.

Output:

Also See:
2-Dimensional Array in C Programming Language

You may also like...

2 Responses

  1. Anonymous says:

    is it mandatory to initialize the arr3 or we can get the results without it

  2. Anonymous says:

    same question as above

Leave a Reply

Your email address will not be published. Required fields are marked *