Re: question regarding precedence and associativity of ++ and *





maadhuu wrote:
> hi,
> i am a bit confused as to how *i++ (i is a pointer) works.....the postfix
> + has a higher precedence than prefix ++ and i think precedence is from
> left to right whereas ,prefix ++ and * have same precedence and think its
> from right to left......
> well, can someone plss enlighten me how this works ??
> thanx.

Have a look at,
http://groups-beta.google.com/group/comp.lang.c/browse_frm/thread/3bc0b0e653e17581/0165c45ad7a86514#0165c45ad7a86514

.