Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to check if a given number is a power of 2 using bit manipulation.

Run the code to see the output here...