Topic: Bit Manipulation Problem / Level: beginner

Problem: Check if the ith bit of a number is set.

Run the code to see the output here...