Skip to content
0:00 / 0:00

#c#xorswap#bitwiseoperations

The XOR Swap

theteachr

7.5K subscribers • 17 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Beginner. No background in the topic needed.

13K views6 years ago1 recommendation

Programming languagesComputer scienceCAlgorithms

An explanation of the XOR swap algorithm, showing how to swap two variables without a temporary variable in C.

Play at a speed greater than the normal. #swap #xor #c

Why it's here

1 person recommends this

u/mrillusi0nin r/C_Programming • Recommends

beginner The XOR Swap