output comes asCode:#include<stdio.h> #include<conio.h> int main() { static int arr[ ]={0,1,2,3,4}; int *p[]={arr,arr+1,arr+2,arr+3,arr+4}; int **ptr=p; ptr++; printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);*ptr++; printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);*++ptr; printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr);++*ptr; printf("%d %d %d\n",ptr-p,*ptr-arr,**ptr); printf("\n"); getch(); return 0; }
1 1 1
2 2 2
3 3 3
3 4 4
why the final line atarts with 3? why is it not 4?