运算符


运算符

位移运算符

分为左移和右移运算符

但是右移多了一个考虑符号位的右移(逻辑右移),即:”>>>”

正常的右移是左面补齐符号位,但<<<则是连同符号位一起右移,左边补0

优先级顺序


Author: havenochoice
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source havenochoice !
评论
  TOC