Topic: Bit Manipulation Problem / Level: beginner

Problem: Check if a binary number is all 0s except for one bit.

Run the code to see the output here...