: PRESENTATION TOPIC : OPERATORS ...Nousheen Arshad... R1F15BSCS0040 Punjab University (UCP Campus , Rawalpindi)
: PRESENTATION TOPIC :OPERATORS
...Nousheen Arshad...R1F15BSCS0040
Punjab University (UCP Campus , Rawalpindi)
: OPERATORS :• Operators are the special symbols which are used to perform different operations
on the data.Operators are used with variables and constants to form expressions. • There are also some built-in operators in C. Following are some operators :
1. Arithmetic Operators: Arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value.
2. LOGICAL OPERATORS:• Logical operators are used to combine two or more relational expressions.• It include AND, OR, NOT, and combinations of those operations.
3. RELATIONAL OPERATORS :
4. ASSIGNMENT OPERATORS :• An assignment operator is the operator used to assign a new value to a
variable.
5. INCREMENT & DECREMENT OPERATOR:• Increment and decrement operators are unary operators that add or subtract one
from their operand.
6. BITWISE OPERATORS :
: Truth Table :