(1) ”µ½MÔªËØÄæÖÃ
µÚÒ»‚€Åc×îºóÒ»‚€½»“Q£¬µÚ¶þ‚€Åcµ¹”µµÚ¶þ‚€½»“Q
exchange(int a[ ], int n)
{
int i, t;
for(i=0;i<n/2;i++)
t=a[i];
a[i]=a[n-i-1];
a[n-i-1]=t;
}