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
  • 516
  • 3
  • 20

0 Answers0