按位左移运算符<< 1<<31 - 1 按位取反运算符~ ~(1<<31) 类型转换 ((unsign int)-1)>>1 函数sizeof sizeof(int) (为了简化,假设8位,实际上是32位)