Here is my code.
I am using C program to implement depth first search (DFS) the input will be a matrix and output will be to