Is the following program legal? If so, what values are printed?
int i = 100, sum = 0;for (int i = 0; i != 10; ++i) sum += i;std::cout << i << " " << sum << std::endl;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.