Recursion subsequences


how to reverse the output

Hi @akb.tech17
You can reverse it just by taking a stack of string and instead of printing the out string you can push it into that stack and in the main can empty the stack and print all the strings.
Here is your corrected code :

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