Operators

September 10th, 2006 Admin Posted in Operators No Comments »

Type Of Operators

Arithmetic  operator(+,-,*,/,%,++, += , - = , *=, /=, %=, –)
Assignment  operator(=)
Relational operator(<,>,<=,>=,!=……….)
Logical operator(&&,||,!)
Conditional  operator(?:)
Bitwise operator(>>>,>>,<<,~,^,&,|)

NB:
1)Operands of arithmetic operators  must be of a numeric type. We can’t use them on boolean type, but we can use on char type
2)minus operator also has a unary form
3)modular division can be applied to floating type  also
4)Bitwise operators can work on integer types and char type

AddThis Social Bookmark Button