My little program:
#include int main() { signed char c = -128; c = -c; printf(\"%d\", c); return 0; }
prin
because a byte(char) can't hold 128
-128 = 0x80
what neg do is reverse it and plus 1
-(-128) = (~0x80) + 1 = 0x7F + 1 = 0x80
daha, you got 0x80 again