n-1; i++) for (j=i+1; j
n; j++) if (p->a[i] > p->a[j]) { t= p->a[i]; p->a[i] = p->a[j]; p->a[j] = t; } } main() { int i; struct S s={10, {2,3,1,6,8,7,5,4,10,9}}; f(&s); for (i=0; i
n; j++) if (p->a[i] > p->a[j]) { t= p->a[i]; p->a[i] = p->a[j]; p->a[j] = t; } } main() { int i; struct S s={10, {2,3,1,6,8,7,5,4,10,9}}; f(&s); for (i=0; i A.2,3,1,6,8,7,5,4,10,9, B.10,9,8,7,6,5,4,3,2,1, C.1,2,3,4,5,6,7,8,9,10, D.10,9,8,7,6,1,2,3,4,5,