the symbol in C language--The specific usage ask NiangTypes of OperatorsThe language operators can be divided into the following categories:1 Arithmetic operatorsused for various numerical operations. Including plus (+), minus (-), multiply (*), except (/), balance (or modulo operation,%), self-increment (+ +), self-reduction (--) a total of seven. 2. Relational operatorsused for comparison operations. Include greater than (>), less than (<), equals (= =), greater than or equal (>=), less than Equals (<=), and not equal to (! =) Six. 3. Logical Operatorsused for logical operations. Included with (&&), or (| |), non-(!) Three kinds. 4. Bitwise manipulation OperatorsThe number of participating operations is calculated by bits. There are six kinds of bits and (&), bit or (|), bit non (~), bit xor (^), left (<<), right Shift (>>). 5. Assignment Operatorsfor assignment operation, there are 11 kinds of three classes: simple Assignment (=), compound arithmetic Assignment (+=,-=,*=,/=,%=) and compound bit operation Assignment (&=,|=,^=,>>=,<<=). 6. Conditional OperatorsThis is a three-mesh operator for conditional evaluation (?:). 7. Comma operatorused to combine several expressions into an expression (,). 8. Pointer Operatorsused to fetch the contents (*) and Fetch address (&) Two kinds of operations. 9. The number of bytes operatorthe number of bytes (sizeof) used to calculate the data type. 10. Special Operatorswith parentheses (), subscript [], member (→,.) and several others.
Operational symbols in the C language