Can you control what a bitwise right shift will fill in C?

后端 未结 3 1511
忘了有多久
忘了有多久 2020-12-03 13:24

As far as I know when you use a left shift bitwise operator in C it\'s guaranteed that the vacant bits will be filled with 0s. However, I\'ve read that the right shift is im

3条回答
提交回复
热议问题