How would the output of
int i = 6;
i += ++i + ++i + i++ + --i;
printf("%d", i);
be evaluated. When I do it on paper I get 39. But the output after executing is 40.
How would the output of
int i = 6;
i += ++i + ++i + i++ + --i;
printf("%d", i);
be evaluated. When I do it on paper I get 39. But the output after executing is 40.