Shift bitwise operators

in right shift bitwise operator, does it means the total no of bits will get discarded each time a bit is discarded…? like a 32 bit no will become 31 bit once a bit is discarded? or the bits remain same and value at taht bit is discarded and replaced by 0?

@anvesha yes right it will do in that way only .
you can right shift a number of any number of bits as well .
Happy Learning !!

do that way…like wht exactly? can u explain in brief?

hey @anvesha i meant what you have asked is right.
it happens like that only.