请问下在C语言中<<=和+=是什么意思哦。比如a<<=4;a+=(b&0xf0)>>4;谢谢...

2024-12-28 23:25:35
推荐回答(2个)
回答1:

a<<=4;等价于a = a << 4;
a+=(b&0xF0)>>4;等价于a = a + ((b & 0xF0) >> 4);

回答2:

a = a<< 4
a = a + .....