for 10 i-1 25

1
2
for (s=A [0], i=1; i < 10; i++) A [i-1] = A[i];
// A [0] =4 A [5] = 25