Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function that clears all bits from the ith bit to the LSB.

Run the code to see the output here...