C simple program of matrix multiplication
#include
#include
#define row 2
#define col 2
void main()
{
int mat1[row][col],mat2[row][col],mat3[row][col],i,j,k;
clrscr();
printf("\n Enter first 3x3 matrix:");
for(i=0;i
for(j=0;j
}
printf("\n Enter second 3x3 matrix:");
for(i=0;i
for(j=0;j
}
for(i=0;i
for(j=0;j
for(k=0;k
}
}
printf("\n Multiplication of matrices:\n ");
for(i=0;i
for(j=0;j
printf("\n");
}
getch();
}