C Programming - Vintage XOR Swap
#define SWAP(a, b) (((a) ^= (b)), ((b) ^= (a)), ((a) ^= (b)))Will that work in case of SWAP(a[i], a[j]) when i == j ?
Labels: C
About this entry
You’re currently reading “
- Published:
- 9:48 pm
- by -
0 Comments (Post a Comment)