Subtraction of a positive integer of a negative integer results a positive?
989832Feb 7 2013 — edited Feb 8 2013Hi
I have the next problem and I haven't found the reason...
I have the next Java code:
int a = -2147483648;
int b = 2147483647;
System.out.println(a - b);
The output of this lines is "1", but I don't understand why.
Thanks