15. Bit Fiddling
You will learn about the following in this chapter:
Operators:
~ & |^
>> <<
&= |= ^= >>= <<=
Binary, octal, and hexadecimal number notations (a review)
Two C facilities for handling the individual bits in a value: bitwise operators and bit fields
Keywords:
_Alignas, _Alignof
With C, you can manipulate the individual bits in a variable. ...
Get C Primer Plus, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.