If you apply it to integral types, they are bitwise or and xor operator.
However if you apply them to boolean types, they are logical or and xor.
Look at an explanation of or operator and xor operator
You can get more details on boolean operations from the wikipedia truth table