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. | Increment/Decrement Operator |
|
||||||||||||||||||
7. | Conditional or Ternary Operator |
|
||||||||||||||||||
8. | Bitwise Operators |
|
||||||||||||||||||
9 | sizeof() operator | calculate the size of the data type |