为什么不能互换
#include<stdio.h>#include<conio.h>
int swap(int n,int m)
{
int t;
t=n,n=m,m=t;
return(n,m);
}
int main()
{
int a=3,b=9;
printf("a=%d b=%d",a,b);
getch();
}
2014-11-03 10:18
2014-11-03 10:18
2014-11-03 11:10
2014-11-03 11:17
2014-11-03 11:45
2014-11-03 14:31
2014-11-03 14:37
2014-11-03 15:00
2014-11-03 15:08
2014-11-03 15:17