Topic: Bit Manipulation Problem / Level: advanced

Problem: Write a program to find the smallest number that can be formed by rearranging the bits of a given binary number.

Run the code to see the output here...