Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to find the maximum integer that can be formed using the bits of a binary number.

Run the code to see the output here...