matrix multiplication program in C

preview_player
Показать описание
Explanation is given as how to come up with the logic for writing the program rather than just explaining how the code works.
A brief overview is given on how to multiply 2 matrices, condition for multiplying two matrices, why number of rows of second matrix should be same as number of columns of first matrix and why 3 loops are needed.

Program link,

If you had difficulty in understanding the concept, you can learn basics of loops in the following videos

3 part series of mastering loops,

Рекомендации по теме
Комментарии
Автор

Crystal clear explanation of logic. I searched many videos but this is satisfactory. Ma'am I think we must initialize C[I][j]=0; before beginning of k loop because only then it may add and update the c[I][j] value after multiplying A and B matrixes. Correct me if I'm wrong.

mekapatidarshanik