I passes address of count variable and incremented it but in the end it still prints 0.
How to print number of subsequences
@tanjuljain19
hello Tanjul,
increment ur count whenevr u hit base case.
also dont pass count+1 while calling function .
check ur updated code here