摘要: 1 #include<stdio.h> 2 void swap1(int a,int b); //利用异或交换变量的值,值传递 3 void swap2(int* a,int* b); //利用异或交换变量的值,地址传递,这里用指针* 4 5 6 void swap1(int a,int b) /* 阅读全文
posted @ 2020-03-30 21:59 Axuanup 阅读(459) 评论(0) 推荐(1) 编辑