移位运算符

int a = 1 << 0; // 1 0001

int b = 1 << 1; // 2 0010

int c = 1 << 2; // 4 0100

int d = 1 << 3; // 8 1000

posted @ 2015-08-23 21:01  Emyin  阅读(91)  评论(0编辑  收藏  举报