» An operator is a symbol that is used to perform mathematical or logical operation.
» There are common types of operators are given which are use in C language.
An Arithmetic operator is a mathematical operator that performs a calculation on them.
+ , - , * , / , %
int add=20+20; int sub=20-10; int mul=20*10; int div=20/10;
An operator that defines some kind of relation between two entities.
< , > , = , !=
int a>b; int a==b; int a=b; int a!=b;
Logical operator returns the boolean value true or false
||(OR) &&(AND) !(NOT)
int a||b; int c&&d; int E!=b;