https://ide.codingblocks.com/s/235190 my code is printing all the subsequences but in the reverse, how can I change it?
String subsequences
just change the order of recursive call
correct one
subseq(inp,out,i+1,j);
out[j]=inp[i];
subseq(inp,out,i+1,j+1);
i hope this help
if you have more doubts regarding feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course