Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function to create a mask that has the first n bits set.

Run the code to see the output here...