My code is giving the wrong answer for all the test cases however I am unable to figure out any error in my code. I am simple printing the subsequence according to the set bits in numbers from 0 to 2^N. Please Help!
Here is my code: https://ide.codingblocks.com/s/299110
