Question about Bit Manipulation.
Hi,I'm new to This Forum and New to C as well.
I have this Question in my Mind,can someone please Answer It.
Can someone please Explain this Bit manipulation Table.
Consider multiplication of a number by 2,do this by shift in memory Location.
Value of m____Bit Representation of m__Bits after Bit Shift________Value in m after bit shift
1_____________0000 0001____________0000 0010_________________2
2 ____________0000 0010____________0000 0100_________________4
3____________ 0000 0011____________0000 0110_________________6
Please guys I need a Logical Explanation for this.
I Know its simple,but just can get around It.