공부
[Algorithm] Swap by 3 XOR
승가비
2020. 1. 18. 19:07
728x90
int a = 3;
int b = 10;
a = a ^ b;
b = b ^ a;
a = a ^ b;
728x90