Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to find the maximum number of consecutive set bits in the binary representation of a number.

Run the code to see the output here...