Copies of the leftmost bit are shifted in from the left. This operator shifts the first operand the specified number of bits to the left. Excess bits shifted off to the right are discarded. Zero bits are shifted in from the left. They return a logical value.
Logical values are true and false .
Otherwise, it returns false. If both expr1 and expr2 are false, then it returns false. That is, if expr is true, it returns false, and if expr is false, then it returns true. The rules of logic guarantee that these evaluations will always be correct. Note that the anything part of the above expressions is not evaluated, so any side effects of doing so do not take effect.