+ 1

9 << 3. Answer is 72 ???

12th May 2020, 4:50 PM
Jai
Jai - avatar
3 Respuestas
+ 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.
12th May 2020, 4:54 PM
Avinesh
Avinesh - avatar
+ 3
n >> m = n / 2 ** m n << m = n * 2 ** m therefore: 9 << 3 = 9 * 2 ** 3 = 72
12th May 2020, 5:00 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 1
Thank u 🌸
12th May 2020, 5:03 PM
Jai
Jai - avatar