Code:
void prob2(void) { FILE *matrix; int k, z, c; double **A,**B, *a, *b, a_norm; matrix=fopen("matrix.dat", "r"); if(matrix == NULL){ printf("Error in file opening for *matrix.\n"); exit(1); } A= (double **)calloc((size_t)4, sizeof(double *));
Leave a comment: