Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function to turn off all bits from the most significant bit to the ith bit.

Run the code to see the output here...