Whats this | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
21st Apr 2018, 11:18 AM
ij888
ij888 - avatar
4 Antworten
+ 1
It performs the logical or operation with all bits of the 2 operands. 5 = 0101 3 = 0011 7 = 0111
21st Apr 2018, 11:22 AM
Timon Paßlick
+ 1
Yes. 0 or 0 is 0. 1 or 0 is 1. 0 or 1 is 1. 1 or 1 is 1.
21st Apr 2018, 11:25 AM
Timon Paßlick
+ 1
thanks, real simple. was gone and looking for some complex explanation.
21st Apr 2018, 11:30 AM
ij888
ij888 - avatar
0
it goes and returns a 7!
21st Apr 2018, 11:23 AM
ij888
ij888 - avatar