Re: A89: Filling a Byte in C


[Prev][Next][Index][Thread]

Re: A89: Filling a Byte in C




> Thanks everyone.  I appreciate it very much.  Now that I know about << and
> |=, I have a little idea myself, but I don't know how fast it will be.
What
> I need to know is:  Does 1 << 8 scroll it back around to 1, or would it
give
> me 0.  Thanks,

Since << performs a shift, not a rotation, it will give 0. I don't think
rotations are possibles in C.






References: