Bit mask in C

前端 未结 5 1587
情深已故
情深已故 2021-01-30 09:52

What is the best way to construct a bit mask in C with m set bits preceded by k unset bits, and followed by n unset bits:

         


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