write difference between<< and >>operators
Answers
Answered by
1
Explanation:
Difference between >> and >>> operator. Both >> and >>> are used to shift the bits towards the right. The difference is that the >> preserve the sign bit while the operator >>> does not preserve the sign bit. To preserve the sign bit, you need to add 0 in the MSB.
hope the answer help you
Similar questions