Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections
Download Device Monitoring Studio Hide this button

<< Left Shift Operator

This operator performs a left shift of the first operand. The second operand specifies how many bits to shift.


exp1 << exp2


7 << 1          // evaluates to 14
-3 << 3         // evaluates to -24

This operator is not applicable to floating-point values.