两个数交换

 void Swap(int *a, int *b)
 {
     int c = *a;
     *a = *b;
     *b = c;
 }
原文地址:https://www.cnblogs.com/liuhg/p/swap.html