The symbols which are used to perform logical and mathematical operations in a C program are called C operators. C includes a large number of operators which fall into different categories.
Arithmetic Operators
Relational Operators
Logical Operators
Assignment Operators
Increment and Decrement Operators
Conditional Operator
Bitwise Operators
Special Operators
Arithmetic Operators are used to performing mathematical calculations like addition (+), subtraction (-), multiplication (*), division (/) and modulus (%).
Relational operators are symbols that are used to test the relationship between two variables, or between a variable and a constant. The following table shows all relation operators supported by C.
These operators are used to perform logical operations on the given two variables. C language supports following 3 logical operators. Suppose a = 1 and b = 0,