Hi,
CAn anyone tell me what does the following statement do in C. *p++ = val
My understanding is that because ++ and * have right-associativity, it is equivalent to
p++;
*p=val;
Similarly val = *--p
is equivalent to
p--;
val = *p;
Is it correct?