|
|
|
|
|
by neutrono
1356 days ago
|
|
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.. |
|