#include<stdio.h>
int main()
{
int a = 5,b = 6,c;
c = a;
a = b;
b = c;
printf("A = %d,B = %d,",a,b);
return 0;
}
C语言两个整数交换,a=b ,b=a
最新推荐文章于 2023-08-17 15:06:00 发布
#include<stdio.h>
int main()
{
int a = 5,b = 6,c;
c = a;
a = b;
b = c;
printf("A = %d,B = %d,",a,b);
return 0;
}