What's Wrong with this code?

code-“https://ide.codingblocks.com/s/91388

u have made some mistakes
check this


always use char array when there is backtracking with charachter as its index handle in backtracking for string u have to do some erase stuff