C Programming - Bitwise Operators - Discussion


On left shifting, the bits from the left are rotated and brought to the right and accommodated where there is empty space on the right?

[A]. True
[B]. False

Answer: Option B


No answer description available for this question.

Shivakumar said: (Oct 27, 2011)  
On left shifting the right side bits are filled with zero.

Bharti Bhasin said: (Mar 1, 2012)  
What is the exact meaning of this problem ?

Bharti Bhasin said: (Mar 1, 2012)  
If it rotates the bits toward left then all the bits of right side are now come to left side. Due to this reason its answer is false.

Pritam said: (Jan 12, 2016)  
On left shifting bits are cutting form it. And from right side zeros are filled.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.