main()函数利用exchange函数来交换main中的两个变量的值。includeexchange(){ ;temp=*x;*x=*y;*y=temp;}main(){ int a=5,b=8;exchange();printf();}

时间:2024-04-28 09:04:56

相似题目