Https://hack.codingblocks.com/contests/c/452/355

https://hack.codingblocks.com/contests/c/452/355
Recursion-Ascii subsequences
this is my code:https://ide.codingblocks.com/#/s/19225
I am not able to know the output format of this question.i have tried to print the subsequences of integer and string simontaneously and both of indivitually as well but i am not getting desired output.