Computer Science, asked by shraddhashrivastav, 5 months ago

static int a[] = {0,1,2,3,4};
int *p[] = {a,a+1,a+2,a+3,a+4};
int **ptr = p;
ptr++;
printf("\n%d %d %d", ptr-p, *ptr-a, **ptr);
*ptr++;
printf("\n%d %d %d", ptr-p, *ptr-a, **ptr);
*++ptr;
printf("\n%d %d %d", ptr-p, *ptr-a, **ptr);
++*ptr;
printf("\n%d %d %d", ptr-p, *ptr-a, **ptr);
Select one:
o a
a. 111
222
3 3 3
344
b. 1 1 1
122
233
3 44
c. Compiler Error
d. None​

Answers

Answered by DeepakUgalePatil
0

Answer:

compiler error

Explanation:

pointer and array related error show

Similar questions