Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that toggles the last set bit of a binary number.

Run the code to see the output here...