Matrix Multiplication In C

前端 未结 8 2271
后悔当初
后悔当初 2021-02-10 00:01

I\'m trying to solve a matrix multiplication problem with C. Matrix sizes given in problem (2x2) I wrote this code but it doesn\'t print result as I expect. I think I\'m missing

8条回答
  •  萌比男神i
    2021-02-10 00:26

    Here is the matrix multiplication code I use:

    for(i=0;i

    big thing is setting the answer matrix to zero (as the rest have said without code).

提交回复
热议问题