The operator golang

1, the assignment operator (1 + 5 + 5 types): =

 

2, arithmetic operators (7 species): multiplication, division, I, add, subtract, increment, decrement

 

3, bitwise operators (five kinds): AND, OR, XOR, left, right

 

 

 

 

 

4, relational operators (six kinds): equal to, not equal, greater than, greater equal, less than, less than or equal

Boolean operation result is: true / false

5, logical operators (three types): and, or, non-

Boolean operation result is: true / false

 

Guess you like

Origin www.cnblogs.com/igoodful/p/11257557.html