Nishu said:
> Hi All,
>
> Could you please explain whether C standard supports logical right
> shift operation using some operator?
C's right shift operator, >>, works like this:
A >> B will yield a result that is equivalent to A shifted right through B
bit positions. If A is negative, the result is implementation-defined.
There is also a >>= operator, of course, so that you can do A >>= B instead
of A = A >> B
> I know somewhere I read about >>> operator. I thought, it is in C
No, 'fraid not.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)