交换变量 #include <stdio.h> int main() { int a,b; a=5; b=6; int c; c=a; a=b; b=c; printf("a的值为:%d,b的值为:%d\n",a,b); return 0; }