这两种写法都没有使用传递变量。
#define swap(x,y) x = x + y;y = x - y;x = x - y #define swap(x,y) x^=y^=x^=y
Posted in c