C Programming - Bitwise Operators - Discussion

Discussion Forum : Bitwise Operators - True / False Questions (Q.No. 7)
7.
Left shifting an unsigned int or char by 1 is always equivalent to multiplying it by 2.
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
11 comments Page 2 of 2.

Nanu sundari said:   7 years ago
I think its wrong , its divided by 2
Ex: for right shift.
n>>2
N is number and 2 is right shift.
And is n*2^shift.

||ly same for left shift divide n/2^shift.


Post your comments here:

Your comments will be displayed after verification.