Jump to content

C++ Programming/Programming Languages/C++/Code/Keywords/and eq

From Wikibooks, open books for an open world

and_eq is the bitwise and operator. The alternative writing is &.

example:

variable bit hex
a 0011 3
b 0110 6
a and_eq b 0010 2