Recursion -subsequences

how to print the no. of subsequences formed ?

Plz send the question along with your code as well, so that I could check