for loop

Hi I am not quite sure what this for loop means

for (sum=a[i][j], k=i-1; k>=0; k--) sum -= a[i][k];

Why is there a sum=a[i][j] in the for loop ? Is it initiated every single time or how does this work ??

Thanks,

Marcus
The FOR statement takes 3 statements, and the first one is run once at the beginning of the loop. This means that all it takes for you to understand this loop is to learn about operator, (operator comma). Check it out @ Wikipedia or elsewhere. Is a simple operator.
Topic archived. No new replies allowed.