An operator is a symbol that tells the compiler to perform some specific mathematical or logical calculation. C - Language is rich in built-in operators and provides the following types of operators.
S.No. | Operator Name | Operator Symbol | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1. | Arithmetic Operators |
|
|||||||||||||||||||||
2. | Comparison/Relational Operators |
|
|||||||||||||||||||||
3. | Logical Operators |
|
|||||||||||||||||||||
4. | Assignment Operator |
|
|||||||||||||||||||||
5. | Compound Assignment Operators |
|
|||||||||||||||||||||
6. | sizeof() operator | calculate the size of the data type | |||||||||||||||||||||
7. | Conditional or Ternary Operator |
|
|||||||||||||||||||||
8. | Increment/Decrement Operator |
|
|||||||||||||||||||||
9. | Bitwise Operators |
|
|||||||||||||||||||||
10. | Other Operators |
|