Rat in maze question


have a look into the code and suggest changes also tell where is error

@sgdon142 can you send me the sample input and output. It is because I think that you should print the solution when you reach n-1 & m-1