Recursion phone keypad

why my code is not working if I am taking strings instead of character array.

code: https://ide.codingblocks.com/s/153727

please help !