/* Exercise 4.14 from "The C programming language" book by K&R */
#include<stdio.h>
#define swap(t,x,y) {t c; c = x; x = y; y = c;}
main(void)
{
int a, b;
a = 1;
b = 2;
swap(int, a, b);
printf("%d %d\n", a, b);
return 0;
}
----------