Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - The values of integer variables x and y are equal.
The values of integer variables x and y are equal.
D is the answer, and the first one is a logical OR operation. If more than one logical OR operation is true, the result is true, that is, non-zero.

The second is bitwise OR, and it cannot be zero.

The third is bitwise AND. Since the two variables are equal and not zero, it is assumed that they are 000 1 and 000 1, which are equal to themselves, so they cannot be zero.

The fourth is bitwise XOR, that is, when the corresponding ones are the same, the result is 0, for example, 00 10 and 00 10, and every bit of them is the same, so the result of XOR is that every bit is 0, that is, the result is zero.