expr1 , expr2 , ... , exprN
Meaning:
syntactically as one expression
The value of:
is equal to the value of the last expression exprN.
Solution:
for ( i = 0, j = 10; i < 10; i++, j++ ) B[j] = A[i];