int , , , (, long), ( int).
a int - 16 , ( 2 ) -32768 +32767. , abs(), ( 16-) abs(-32768). , INT_MIN -32767; abs() int (, abs(-32768) = -32768).
The end result of this is that the integer constant -32768, which could theoretically be inserted into 16-bit int, can be raised to longbecause it is smaller INT_MIN.
source
share