Re:Lua, a Misunderstood Language (2021)
by neutrono on Thursday September 29, 2022 @01:27PM
(#33024183)
isn't
y = x + x++;
undefined behavior in C, because of a lack of a sequence point?
If that's true, then it makes sense for no C programmer to know what happens..
I think to fix it you would have to go like:
y = x;
y = y + x++;
I think that would work..
[ Parent
| on HN ]
There are no comments on this comment yet.