Backtracking/Rat in a Maze/C/rat_in_a_maze.c
/* A utility function to print solution matrix sol[N][N] */
A utility function to print solution matrix sol[N][N]
A utility function to print solution matrix sol [ N ] [ N ]
void printSolution(int sol[N][N]) 
{ 
    for (int i = 0; i < N; i++) 
    { 
        for (int j = 0; j < N; j++) 
            printf(" %d ", sol[i][j]); 
        printf("\n"); 
    } 
}
void printSolution ( int sol [ N ] [ N ] ) { for ( int i = 0 ; i < N ; i ++ ) { for ( int j = 0 ; j < N ; j ++ ) printf ( " " , sol [ i ] [ j ] ) ; printf ( " \n " ) ; } }
A utility function to print solution matrix sol[N][N]
A utility function to print solution matrix sol [ N ] [ N ]