Topic: Bit Manipulation Problem / Level: intermediate

Problem: Implement a function that swaps the odd and even bits of an integer.

Run the code to see the output here...