Explain Right shift operator

Right shift operator: Right shift operator (>>) is the bit manipulation operator. It shifts the bits in its left operand zero (0) or many places to the right, according to the value of its accurate operand. The most important bit from before the shift is replaced in the leftmost position - this is term as sign extension. An alternative right shift operator (>>>) replicates the lost bits with zeros at the left.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.