In computer programming, the exclusive or swap (sometimes shortened to XOR swap) is an algorithm that uses the exclusive or bitwise operation to swap the values of two variables without using the temporary variable which is normally required.
In computer programming, the exclusive or s?wap (s?o.metimes shortened to XOR swap) is an algorithm that uses the exclusive or bitwise operation to swap th,e values of two variab?les without using the temporary variable which is normally required.