// determinant is a scalar-valued of the entries of a square matrix
#include <iostream>
#define SIZE 2
int main()
{
float arr[SIZE][SIZE] = { { 3, 8 },{ 4, 6 } };
/*
* a b
* arr =
* c d
*
* determinant = a*d - b*c
*
*/
float determinant = (arr[0][0] * arr[1][1]) - (arr[0][1] * arr[1][0]);
std::cout << determinant << "\n";
}
/*
run:
-14
*/