Matrix Multiplication in C
Here is the program for matrix multiplication in C. m and n are rows and columns of first matrix. p and q are rows and columns of second matrix. Then, multiplication is possible only if n==p. Matrix Multiplication in C #include<stdio.h> int main() { int a[5][5],b[5][5],c[5][5],m,n,p,q,i,j,k; printf(“Enter rows and columns of first matrix:”); scanf(“%d%d”,&m,&n); …
