两个数交换

 void Swap(int *a, int *b)
 {
     int c = *a;
     *a = *b;
     *b = c;
 }

 

posted @   liuhg  阅读(121)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示