Bitwise OR (|)

Considering the value of the a and b as given above, and making using of the table the result of bitwise OR on and b will be:
a | b = 0000 0000 0001 1110
Bitwise OR is used to set a particular bit to 1.

No comments:

Post a Comment