A bitwise OR operation takes two bit patterns of equal length and performs the logical OR operation on each pair of corresponding bits among the operators. For questions specific to the operator |, use [or-operator] instead.
A bitwise OR operation takes two bit patterns of equal length and performs the logical OR operation on each pair of corresponding bits among the operators. The result in each position is 1 if any of the pair of bits in the corresponding positions are 1; Otherwise, the result is 0.
Read also the wikipedia article on Bitwise OR.