giving no output .Please correct the code
Playing with bits
@Yukta
Hello Yukta,
you are modiying i inside while loop which u should not do.to rectify this error first store i in some variable say j and then do all ur operation on j without modifying i.