Bitwise OR
Syntax
Explanation
Sets each bit to 0
where the corresponding bit in both operands is 0
Truth Table
A
B
A | B
0
0
0
0
1
1
1
0
1
1
1
1
Last updated
Sets each bit to 0
where the corresponding bit in both operands is 0
A
B
A | B
0
0
0
0
1
1
1
0
1
1
1
1
Last updated