/*The following program is an implementation of a Sudoku Solver in C. */ #include #include #define NELEMENTS 16 #define NBLOCKS 4 int guess_is_valid(int sudoku[][NELEMENTS], int row, int col, int num){ /* check for sudoku validity * check if num is already in the row * check if num is already in the column * check if num is already in the block */ int rowStart = (row/NBLOCKS) * NBLOCKS; int colStart = (col/NBLOCKS) * NBLOCKS; int i, j; for(i=0; iNELEMENTS) print_sudoku(sudoku, 0); //Check if it is an empty field if(sudoku[row][column]!=0) // navigate to the next field of the board if(column+1