Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4
There isn't a ^^ operator. A single ^ is the bitwise xor operator. Xor checks out the bits of two numbers. If the same bit in both numbers have the same value, the resultant bit is zero. If they are different, the resultant bit is one. 5 ^ 7 is 2. 101 ^111 -------- 010
20th Jul 2018, 2:50 AM
John Wells
John Wells - avatar