3 ms·No, in two's complement: int_max + 1 == -int_minby eggnet 15y agoNo, in two's complement: int_max + 1 == -int_minajross 15y agoTwo's complement negation of N is defined as ~N+1 (try it). ~INT_MIN == ~0x80000000 == 0x7fffffff. 0x7fffffff+1 = 0x80000000.eggnet 15y agoIn your last step there you are literally adding one to INT_MAX, which is an overflow. Hence the exception.