In the matrix. c I have
struct matrix{ int row; int col; int *a; }; Matrix* allocateMemory(int m, int n) { Matrix* mat = (Matrix*) malloc(sizeof(