Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function to generate a binary mask for the first n bits set to 1.

Run the code to see the output here...