1/12
Loading...
|At least one 1!
OR operation (|) results in 1 if at least one bit is 1. It's like "Either one agreeing is OK!" 13 = 00001101 10 = 00001010 Let's compare each bit!
Loading...
OR operation (|) results in 1 if at least one bit is 1. It's like "Either one agreeing is OK!" 13 = 00001101 10 = 00001010 Let's compare each bit!
OR bit operation (|) returns 1 if at least one bit is 1. It's the bitwise version of logical OR - "either one being true is true".