+ 1
what does the operator ^ ???
4 odpowiedzi
+ 4
The bitwise exclusive OR operator (^) compares each bit of the first operand with the corresponding bit of the second operand. If one bit is 0 and the other is 1, the corresponding result bit is set to 1. Otherwise, zero.
Both operands of the bitwise exclusive OR operator must be of an integer type. To operands the usual arithmetic transformations
0
Xpl0it Nope, not in C/C++.
0
Yeah I saw that after I posted. Nirkasder is on point.
- 4
2^3 = 2*2*2 (exponents)