Subsequences code not working fine

my code is working fine if i made recursive statement of include the character call first

but if imade exclude the character recursive call first then code is compiling successfully but not displaying any output

link to my code is

@soorya19k
I see you have resolved your query and already received 100
So I’m closing this doubt

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.