+ 1
9 << 3. Answer is 72 ???
3 Respostas
+ 5
00001001 -> 9
Shift all the bits to left by 3 places.
01001000 -> 72
This is in binary, you just have to multiply 1 by their place values.
+ 3
n >> m = n / 2 ** m
n << m = n * 2 ** m
therefore:
9 << 3 = 9 * 2 ** 3 = 72
+ 1
Thank u 🌸