Re:A semantic model for a substantial fragment of C
by fmap on Saturday April 01, 2017 @08:48AM
(#14011853)
I'm not sure about non-deterministic behavior without looking it up, but you can fix this example to be implementation defined, rather than undefined like this:
The point is that function arguments introduce sequence points, but the specification for i++ is weaker than what you get for a function call. C is full of gotchas like this...
[ Parent
| on HN ]
There are no comments on this comment yet.