0

20>>2=?

A coder!

12th Sep 2018, 9:33 AM
sherman chu
sherman chu - avatar
2 Respuestas
+ 8
20 = (00010100) --> Binary 20 >> 2 --> Means add two zeros to the left of Binary of number 20 >> 2 = (00000101) = 5
12th Sep 2018, 12:29 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 1
generally, (x >> y) is equal to x/(2^y), and (x << y) equal to x*(2^y)
12th Sep 2018, 6:36 PM
Bebida Roja
Bebida Roja - avatar