Even though I’m using backtracking to undo my move, but still it’s only printing just one path. Please help!!
Code: https://ide.codingblocks.com/s/106001
Rat in Maze: Why my solution is not printing all possible paths
provide custom input and output…