What these should return? Both are UB? printf("%2147483647d!", 0); printf("%2147483648d", 0);
@ch3root @spun_off Yes, since the standard allows error return and admits no possible success result, I think error is required indirectly.
-
-
@RichFelker @spun_off You mean it's well defined or just that this is a reasonable extension to the standard? -
@ch3root @spun_off I suspect there will be different interpretations. POSIX makes it a "shall fail". ISO C is less clear and may admit UB.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.