The examples above uses 4 bits unsigned binary numbers. Because of this ~ 5 returns 10. ... A signed integer uses the leftmost bit as the minus sign.
確定! 回上一頁