plz correct the error in the code and tell me the efficient way to pass 2D array in the function
error: cannot convert ‘char ()[m]’ to 'char ()[10]’ for argument ‘1’ to ‘bool ratChasesCheese(char ()[10], int ()[10], int, int, int, int)’
bool success=ratChasesCheese(maze,sol,0,0,n-1,m-1);
problem link : https://online.codingblocks.com/app/player/39658/content/37376/5020/code-challenge?code=xefoLC39J4Jce0QLv8czUhe57qAg8TZd