OPERATORS The operator isa symbol that tells the computer to perform certain mathematical or logical manipulations in C operators. C operators can be classified into number of categories.
Relational Operators A relation operator checks the relation between two operands Relational operators are used in decision making and loops
7.
Logical operators Logical operators performs logical operations on give expression by joining two or more expressions or conditions .
9.
Increment anddecrement operators C allows two very useful operators increment and decrement operators. The operator++ adds one to the operator while__ subtracts one. Both are unary operators and takes the following form. eg; pre post ++m; or m++; - -m; or m- -;
Bitwise Operators Bitwise operators are the operators used to perform the operations on the data at the bit level. When we perform the bitwise operations ,then it is also known as bit- level programming .
12.
Special Operators These are used to perform mathematical calculations like addition, subtraction ,multiplication , division and modulus . Special operators can be divided in to 2 types THE COMMA OPERATOR THE SIZE OPERATOR
13.
THE COMMAOPERATOR The comma operator is basically a binary operator. Eg; value=(x=10,y=5,x+y); THE SIZE OF OPERATOR It determines the size of the expression or the data type specified in the number of storage units. Eg; m=size of (sum);