Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to set the k-th bit of a number to 1.

Run the code to see the output here...