The bitwise shift operator is used to shift (move) bits i.e.
it moves data bits right or left and the position of shifted (moved) bits will
be filled by 0s (zero’s).
In bitwise shift operator we decide how many bits to be
shifted by the operator. There are two types of bitwise shift operator:
- Right shift operator (>>)
- Left shift operator (<<)
No comments:
Post a Comment