📅  最后修改于: 2020-10-22 05:51:25             🧑  作者: Mango
#include
#define SWAP(x, y) int t; t=x, x=y, y=t;
int main()
{
int x=10, y=20;
SWAP(x, y);
printf("x = %d, y = %d\n", x, y);
return 0;
}