Rat in a maze problem using recursion

In the base case of this problem, before returning true, we should have also written
soln[m][n]=0;
(Backtracking )

hello @Tiwary725
yeah u can do that but it will not create any difference.

could you please explain