Multiplication of two matrix – C Program

Matrix Multiplication – C Program

write a c program to multiplication of two matrix.

lets understand multiplication of matrix

matrix A=  1    2           matrix B = 5   6   7

.                3    4                           8   9   10

The multiplication of two matrix:

A * B =  1*5  +  2*8          1*6  +  2*9         1*7  + 2*10

.            3*5  +  4*8          3*6  +  4*9         3*7  + 4*10

 

A * B =  21       24       27

.            47      54        61

 

The output of matrix multiplication is :

 

Leave a Reply

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

Captcha *