0
int x=-45. int y=x>>3
i cant fo this bitwise operater
2 odpowiedzi
+ 2
45 =b101101
-45 =b11010011
check it by addition og 45 and -45
3 times shift right: there are only 1 on the left
b11111010
b11111010 + 00000110 = 0
so b11111010 = -6
0
y=-6
i cant fo this bitwise operater