You are using the
pre-increment, then the increments on your variable are done the same way as they are written on a separate statement, before than the current one. In other words, this line:
int A, B = 8;
A = ++B + ++B;
is treated by the compiler in the same way than:
int A, B = 8;
B = B + 1;
B = B + 1;
A = B + B;