C++ · Variables, types and arithmetic

How big is an int? Overflow and undefined behavior

An int has room for about two billion either way, and a result past that edge is not a number C++ promises anything about.