hi....

```
int x=30, *y,*z;
y=&x; assume x address is 500 and int is of 4 bytes
z=y;
*y++=*z++;
x++;
printf("%d %d %d",x,y,z);
```

i want to ask that how the value of y is 504 here ?

firstly value of z is assigned to value of y. then z is incremented after assigment. then value of y is incremented after it get its value from *z. is it right what i am saying ? value of y will get new value or y(pointer) itself will get a new value. this question is confusing me alot. please explain.

thanks in advance.