Topic: Bit Manipulation Problem / Level: beginner

Problem: Generate a mask with the lowest k bits set to 1.

Run the code to see the output here...