0
Why this code showing this result?
2 Answers
+ 9
Raju Baghel It's Bitwise Left Shift operator.
https://www.sololearn.com/learn/4087/?ref=app
+ 5
That's a bitwise shift operator, in this case it shifts binary 2 digits to the left:
5 in binary = 00000101
after shifting those ones to the left:
00000101 --> 00010100
and 00010100 in numeral system is 20