What is stored in list after the following C++ code executes?
int list[10];
for (int i = 0; i < 5; i++)
{
list[i] = i * i - 5;
if (i % 3 == 0)
list[i] = list[i] + i;
else
list[i] = list[i] - i;
}
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.