0

Hello Stackoverflowers,

Considering the following pre-increment addition, can you explain me why j = 8 in the following code ?

int i = 2;
int j = ++i + ++i;
//j = 8, why ??
Csi
  • 526
  • 3
  • 22

0 Answers0