/* Swap: Exchanges elements i and j in array v */ void Swap(int v[], int i, int j){ int temp; temp=v[i]; v[i]=v[j]; v[j]=temp; };