What are Operators?

Operators are the symbol in C programming that defines the operation between the operands. Operators operates on the operands. Operators are the special symbols that helps to perform Mathematical and Logical operations on the operands.

Types of Operators in C

Operators in C Language are divided in three types on the basis of the number of operands they use. Operators-in-C

1. Unary Operators

Unary Operators are the operators that operates on only one operand. For example ++, --, etc.

2. Binary Operators

Binary Operators are those operators that operates on two operands. For example +, *, =, etc.

3. Ternary Operators

Ternary Operators are those operators that operates on three operands. For example ?:.

The operators Unary, Binary and ternary are further categorized into following types.

Please click on below links to read more about them.

  1. Arithmetic Operators
  2. Relational Operators
  3. Logical Operators
  4. Assignment Operators
  5. Bitwise Operators
  6. Conditional Operator
  7. Increment/Decrement Operator
  8. Special operators