Rat in a maze(Rightmost Path)

What is the problem in the solution?
Link: https://ide.codingblocks.com/s/80111

Hi @tomarvikas738, you are missing one small thing in your code. Pls read the question statement again COMPLETE and CORRECTLY. You’ll get what you’ve missed out in.