C Operators

                                                            C Operators




Operators and Operands

Operands
Operands are numerical, text and Boolean values that a program can manipulate and use as logical guidelines for making decisions.


Operators
▫ Operators are used to manipulate and check operand values.
 ▫ In C programming Operators are symbols which take one or more operands or expressions and perform arithmetic or logical computations.



• C has following operators 
Arithmetic operators  all are binary operators
 ▫ Logical operators  all are binary operators
 ▫ Relational operators  all are binary operators 
▫ Bitwise operators  all are binary operators except ! and ~ 
▫ Increment, decrement operators unary operators
▫ Assignment operators  binary operators ▫ Conditional operator  ternary operator 
▫ Type cast operator unary operator
 ▫ sizeof operator  unary operator 
▫ Comma operator  binary operator

Arithmetic operators


Logical operators


Relational  operators



Bitwise operators


Increment, decrement operators



You can use following videos to get more information about operators,





Post a Comment

0 Comments