What is the output of the following code?
int x;int *p;int *q;p = new int[10] ;q = p;*p = 4;for(int j = 0; j<10; j++){x = *p;p++;*p = x + j;}for (int k = 0; k<10; k++){cout ≪ *q ≪ " "; q++;0}cout ≪ end1;
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.