So you needn't expect to find lots of questions about shift operators.
Certain operators tend to appear more frequently than others; for example, the assignment operator "=" is far more common than the unsigned right shift operator ">>>".
left-shift << is equivalent to multiplying the number by 2,4,8...respectively for shifting by 1,2,3....positions
Or stating more simply left-shifting a value by n positions, is the same as multiplying it by 2^n
right-shift >>/>>> is equivalent to dividing the number by 2,4,8...respectively for shifting by 1,2,3....positions
Or stating more simply right-shifting a value by n positions, is the same as dividing it by 2^n
As long as the right operand is not 0. Remember the right operand is reduced to a few bits on its right (e.g. 5 bits for an int which has 32 bits and 32 = 2⁵). If after that reduction the right operand is 0, then you might get a negative result. Remember
A few years ago, I wrote: . . . unsigned right shift >>> . . . always returns a positive answer . . .