Is there a clean way to write overflowing adds?

No.

Yes. What you are thinking about is Unspecified Behavior. Undefined Behavior means that any other part of the program can do absolutely whatever it wants. Integer overflow can erase your hard disk and still claim to be conforming.

It's §6.5.5 in C11:

2 Likes