1: main( )
2: {
3:
4: static int a[ ] = {0,1,2,3,4};
5: int *p[ ] = {a,a+1,a+2,a+3,a+4};
6: int **ptr = p;
7:
8: ptr++;
9: printf(\n %d %d %d, ptr-p, *ptr-a, **ptr);
10:
11: *ptr++;
12: printf(\n %d %d %d, ptr-p, *ptr-a, **ptr);
13:
14: *++ptr;
15: printf(\n %d %d %d, ptr-p, *ptr-a, **ptr);
16:
17: ++*ptr;
18: printf(\n %d %d %d, ptr-p, *ptr-a, **ptr);
19: }


plz explain how the *ptr++, *++ptr,++*ptr works?