Although, this code produces the sub sequences, but I am not able to get it in reverse order.
here is the link to my code:
Not able to print in reverse order
to reverse the order of subseqeuences
just change the order of recursive call
look at modified code
i hope you understand why this is happening
try dry run of both the codes you will understand
if found any difficulty then feel free to ask