Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

SWAP

Name: Anonymous 2011-10-17 15:25


#define SWAP(a, b) ((&(a) == &(b)) || \
                    (((a) -= (b)), ((b) += (a)), ((a) = (b) - (a))))


ENTERPRISE SWAPPING

inb4 overflow

Name: Anonymous 2011-10-17 20:02

Jesus, that's clever, >>1.
Show more of your work!

|10/10|

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List