I was solving the problem of rat in the maze. I’m not able to find out the error in my code.
According to me, my logic is fine, It is showing segmentation fault.
Here’s the link to my code: https://ide.codingblocks.com/s/298778
Plz help me find the error in my code.
: and don’t forgot to mark doubt as resolved 