Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function that swaps all odd and even bits in an integer.

Run the code to see the output here...