Test online Didactic.ro
Daca n=7, v = (10, 20, 30, 40, 50, 60, 70) ce va afisa rularea secventei: for (i=1;i<=n/2;i++){aux = v[i]; v[i]=v[n/2+n%2+i]; v[n/2+n%2+i]=aux;} ?