Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
va_arg and short
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Dan Pop, post: 1686286"] Yes, but if the result has type size_t, it is possible (and trivial) to detect the overflow and handle the problem as appropriate, if the result has type int, you have *already* invoked undefined behaviour: too late for doing anything. Dan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
va_arg and short
Top