• 附录B:运算符

    附录B:运算符

    1. + sum integers, floats, strings
    2. - difference integers, floats
    3. * product integers, floats
    4. / quotient integers, floats
    5. % remainder integers
    6. & bitwise AND integers
    7. | bitwise OR integers
    8. ^ bitwise XOR integers
    9. << left shift integer << unsigned integer
    10. >> right shift integer >> unsigned integer
    11. Precedence Operator
    12. 5 * / % << >> &
    13. 4 + - | ^
    14. 3 == != < <= > >=
    15. 2 &&
    16. 1 ||
    17. Assignment Operators
    18. += -= *= /= %=
    19. &= |= ^=
    20. >>= <<=