Finding subsequences and displaying them in sorted order

https://ide.codingblocks.com/s/37292

https://hack.codingblocks.com/contests/c/512/73

why am i not getting any output

please reply
nobody clears my doubts

Sometimes it can get delayed to figure out the silly mistakes.

There were some silly mistakes in your code…
I have made corrections in your code,
u can refer this https://ide.codingblocks.com/s/37608