MATRIX MULTIPLICATION
1. #include<stdio.h>
2. #include<stdlib.h>
3. int main(){
4. int a[10][10],b[10][10],mul[10][10],r,c,i,j,k;
5. printf("enter the number of row=");
6. scanf("%d",&r);
7. printf("enter the number of column=");
8. scanf("%d",&c);
9. printf("enter the first matrix element=\n");
[Link](i=0;i<r;i++)
11.{
[Link](j=0;j<c;j++)
13.{
[Link]("%d",&a[i][j]);
15.}
16.}
[Link]("enter the second matrix element=\n");
[Link](i=0;i<r;i++)
19.{
[Link](j=0;j<c;j++)
21.{
[Link]("%d",&b[i][j]);
23.}
24.}
25.
[Link]("multiply of the matrix=\n");
[Link](i=0;i<r;i++)
28.{
[Link](j=0;j<c;j++)
30.{
[Link][i][j]=0;
[Link](k=0;k<c;k++)
33.{
[Link][i][j]+=a[i][k]*b[k][j];
35.}
36.}
37.}
[Link](i=0;i<r;i++)
39.{
[Link](j=0;j<c;j++)
MATRIX MULTIPLICATION
41.{
[Link]("%d\t",mul[i][j]);
43.}
[Link]("\n");
45.}
[Link] 0;
47.}