In C what does this statement do?
*p1 ^= *p2;
p1 and p2 are char pointers pointing to two different address of a char
p1
p2
This
is the compound assignment operator with the bitwise exclusive OR operator,
It is a substitution for this expression statement
*p1 = *p1 ^ *p2;