Make delicious recipes!

Swap bits at position i and j

Swap the bits at position i and j only if they are different.

If they are same, then swap would not make any difference.

Like us on Facebook to remain in touch
with the latest in technology and tutorials!

Got a thought to share or found a
bug in the code?
We'd love to hear from you:

Email: (Your email is not shared with anybody)

Facebook comments:

Site Owner: Sachin Goyal