java中int n = -2147483648;//最小值System.out.println(n-1);//2147483647(已經明白)System.out.println(-n);//-2147483648不理解輸出的數值,感覺跟補碼反碼有關,不過都忘光了,求教~
補碼反碼問題?
慕的地6264312
2019-03-28 22:19:32