int main(){ int a,b,c; printf("请输入a,b的值:"); scanf("%d %d",&a,&b); c = a; a = b; b = c; printf("输出a,b交换后的值:%d %d",a,b); return 0; }