两个数交换

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

 

posted @ 2015-04-05 10:04  liuhg  阅读(120)  评论(0编辑  收藏  举报