Topic: Bit Manipulation Problem / Level: intermediate

Problem: Create a function that clears all bits after the k-th bit in an integer.

Run the code to see the output here...