// same subprograms as sorting.c but not in the same order void selection_sort3(int *list, int nbElem) { int i, j; int posCurMin; int dummy; for(i=0;i list[i+1]) { dummy = list[i]; list[i] = list[i+1]; list[i+1] = dummy; changed = 1; } } } }