Phone keypad recursion problem

my code is correct but it is not printing the output
here is my code https://ide.codingblocks.com/s/264020


line 12
u were reducing ‘\0’ from in[i] but u need to subtract ‘0’ from it it transform character to integer
also on line 13 update digit == 0 instead of ‘0’
and digit == ‘1’ to digit == 1
since here it involves digit comparison and not char comparison