+ 3
'>>','<<' What does it mean?
3 Answers
+ 9
right shift and left shift operators(bitwiz
se)
in this case c++ and python is sameđđ
https://www.sololearn.com/discuss/345934/?ref=app
+ 5
there is this question in the challenges: the output of 5 >> 2 <<5. does it mean, that the binary 5 got shifted 2 to the left, then 5 to the right?
+ 2
The process goes like this make sure you have knowledge about binary...
eg: (3 << 2) then convert 3 to binary which is 0011
..0000 0011<< 2 shift to the left by two
..0000 1100 output would be "1100" which is 12