/* */
/* This function computes the cofactor of a square matrix */
/* with four rows and four columns, where the (i,j) cofactor */
/* is (-1)^(i+j) * minor(a,i,j) */
/* Declare function prototypes. */
double minor(double a[][4], int i, int j);
/* Declare function prototypes */
double cofactor(double a[][4], int i, int j);
double det_c(double a[][4])
{
/* Declare variables */
int i, column=0;
double sum=0;
}
/*——————————————————————–*/
/*——————————————————————–*/
/* Program chapter8_33 */
/* */
/* This function computes the determinant of a square matrix */
/* with four rows and four columns by multiplying each element */
/* in a given row by its cofactor and adding the products. */
/* Declare function prototypes */
double cofactor(double a[][4], int i, int j);