4 ms·
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
by noahmorrison 7y ago
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).
- dahart 7y agoWow, 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!