Can anyone tell me what the significance of the following is in Java:
p >>=1;
Can anyone tell me what the significance of the following is in Java:
p >>=1;
It shifts the bit representation of p one step towards right.
In other words ,it divides the number p by 2.