News for hackers. Stuff that matters.
Re:So you think you know C? (2016) by noahmorrison on Saturday July 06, 2019 @12:15PM (#20370351)
Still, I’d be interested to hear about a compiler that doesn’t return 1

gcc (Ubuntu 8.3.0-6ubuntu1~18.10.1) 8.3.0 returns 2 (executes from left to right... at least the first time I ran it).

Re:So you think you know C? (2016) by dahart on Saturday July 06, 2019 @12:25PM (#20370394)
Wow, you’re right. Me too on ubu 16. Okay, I guess it’s not about pre or post increment. Maybe I should read the spec... ;) And good reason not to do this in code!