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.

Coder said:   1 decade ago
I don't think so.

X=10100000 now left shift by.

X<<1 this is not actually multiplication by 2.


Post your comments here:

Your comments will be displayed after verification.