Why is -(-2147483648) = – 2147483648 in a 32-bit machine?
Negating an (unsuffixed) integer constant: The expression -(-2147483648) is perfectly defined in C, however it may be not obvious why it is this way. When you write -2147483648, it is formed as unary minus operator applied to integer constant. If 2147483648 can’t be expressed as int, then it s is represented as long or long … Read more