Boolean Logical Compound Assignment Operators: &=, ^=, |= – Basic Elements, Primitive Data Types, and Operators
Boolean Logical Compound Assignment Operators: &=, ^=, |= Compound assignment operators for the boolean logical operators are defined in Table 2.27. The left-hand operand must be a boolean variable, and the right-hand operand must be a boolean expression. An identity conversion is applied implicitly on assignment. These operators can also be applied to integral operands … Read more