Other Operators
Other Operators
- The expression A << k can be used to shift A to the left by k bits.
- The operator >> is used for right shift.
- Any Binary Operator can Be combined with the equals sign.
a += 5; // increment a by 5.
b *= 4; // multiply b by 4.