News for hackers. Stuff that matters.
Re:Essential C (2003) [pdf] by moonchild on Thursday September 03, 2020 @04:00AM (#24361787)
> operator precedence

Right, yes. I got confused by your example, because the example is definitely about pre- vs post-increment. My point about idioms still stands, though.

> (* stack)-- evaluates to 22, while * (stack--) evaluates to 52.

Actually, (* stack)-- evaluates to 23, but changes *stack to 22 :)

Re:Essential C (2003) [pdf] by cellularmitosis on Thursday September 03, 2020 @04:06AM (#24361818)
> Actually, (* stack)-- evaluates to 23, but changes *stack to 22 :)

Thanks, I just realized I had that wrong :) https://pastebin.com/n7sHzW3p