New course! Every coder should learn Generative AI!
Try a free lesson0
What is the meaning of "b^=2" in c lanuage
A section I encountered in someone's code
1 Answer
+ 3
If I'm not mistaken, the ^ operator is a bitwise operator called XOR (exclusive or).
01101 ^ 11011 = 10110