#include <stdio.h> #define swap(a, b) do {\ int t = a; a = b; b = t;\ } while (0) int main(int argc, char *argv[]) { int a = 1, b = 2; swap(a, b); printf("%d, %d\n", a, b); return 0; }