Your Link:
https%3A%2F%2Fstackoverflow.com%2Fquestions%2F3944505%2Fdetecting-signed-overflow-in-c-c