Https://ide.codingblocks.com/s/265637

rat in a maze problem

hello @ashutoshu

image
u can not pass 2d array like that.
declare array with constant column size (both in main as well as in function declaration) and then it will work.

…
image

interchange these two lines because we first want to go right and then down if no path found.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.