Matrix Multiplication Using Pointer
Program for Product of Two Matrices #include<stdio.h> int main(){ int matrix1[20][20],matrix2[20][20],product[20][20]; int *p1,*p2,*prod,m,n,p,q,d,e,f; p1=matrix1; p2=matrix2; prod=product; clrscr(); printf("\nEnter the size (no of rows and columns) for 1st matrix :\n"); scanf("%d%d",&m,&n); printf("\nEnter the size (no of rows and columns) for 2nd matrix :\n"); scanf("%d%d",&p,&q); if(n==p) { printf("\n Enter the 1st matrix elements : \n"); for(d=1;d...