hi, thank you for reading
i have a question which deal with bit shifting
x=1 ==> 0000 0000 0000 0000 0000 0000 0000 0001
my question is, let say right shift x to 31 bits, will the bit shift after the rightmost bit and then will continue the shift from leftmost ?
after right shift to 31 bits, would it be 0000 0000 0000 0000 0000 0000 0000 0010 ?
i have a question which deal with bit shifting
x=1 ==> 0000 0000 0000 0000 0000 0000 0000 0001
my question is, let say right shift x to 31 bits, will the bit shift after the rightmost bit and then will continue the shift from leftmost ?
after right shift to 31 bits, would it be 0000 0000 0000 0000 0000 0000 0000 0010 ?