I was asked to write a C program which will calculate the determinant and the inverse of an nxn input matrix. My program works fine when n<4. However, when n>=4, the p