Skip to content
CodeItRaw
Code Reading
/
Bit Operators
Path
Play
Daily
Leaderboard
tr
Predict the Output
Bit Operators
6 = 110, 3 = 011. AND, OR, XOR and a left shift: what is printed?
1
print
(
6
&
3
,
6
|
3
,
6
^
3
,
1
<<
4
)