Actually thats what i felt and thats what i had put in the first place. but i was getting the same error message. so i thought, since i had allocated memory in one shot, it was enough if i free it...
Type: Posts; User: mahesh.mach
Actually thats what i felt and thats what i had put in the first place. but i was getting the same error message. so i thought, since i had allocated memory in one shot, it was enough if i free it...
Below, i have shown the code to calculate the determinant value of a matrix.mat is the pointer to the single dimensional array everywhere and dimension is the dimension of a matrix. if 3x3 then...