#include #include #define N 100 //Write the prototypes of the functions matread,matprintt,matprintf,matmul here int main() { int rowA,colA,rowB,colB,rowC,colC,flag; double A[N][N],B[N][N],C[N][N]; matread(&rowA,&colA,A,"matA.dat"); //read matrix A matprintt('A',rowA,colA,A); //print matrix A in the terminal matread(&rowB,&colB,B,"matB.dat"); //read matrix B matprintt('B',rowB,colB,B); //print matrix B in the terminal flag=matmul(rowA,colA,rowB,colB,&rowC,&colC,A,B,C); //C=AB if(flag==0) { printf("Matrices A and B are incompatiable for multiplication\n"); } else { matprintt('C',rowC,colC,C); //print matrix C in the terminal matprintf(rowC,colC,C,"matC.dat"); //print matrix C in the file "matC.dat" } return 0; } //Write details of function matmul here //Write details of function matprintt here //Write details of function matread here //Write details of function matprintf here