3 ms·In your last step there you are literally adding one to INT_MAX, which is an overflow. Hence the exception.by eggnet 15y agoIn your last step there you are literally adding one to INT_MAX, which is an overflow. Hence the exception.