48 views

# Operators Lect2

OPERATORS AND EXPRESSIONS Definition “An operator is a symbol (+,-,*,/) that directs the computer to perform certain mathematical or logical manipulations and is usually used to manipulate data and variables” Ex: a+b Where ‘+’ is operator and a, b are the operands. Operators in C 1. 2. 3. 4. 5. 6. 7. 8. Arithmetic operators Relational operators Logical operators Assignment operators Increment and decrement operators Conditional operators Bitwise operators Special operators Arithmetic ope

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Previous:

Next:

Share
Tags

## Notation

Transcript
OPERATORS AND EXPRESSIONS   Definition  “An operator is a symbol (+, -,*,/) that directs the computer to perform certain mathematical or logical manipulations and is usually used to manipulate data and variables”  Ex: a+b  Where ‘+’ is operator and a, b are the operands.    Operators in C 1.  Arithmetic operators 2. Relational operators 3. Logical operators 4.  Assignment operators 5. Increment and decrement operators 6. Conditional operators 7. Bitwise operators 8. Special operators  Arithmetic operators Operator example Meaning+ a + b Addition  – unary- a  – b Subtraction- unary* a * b Multiplication / a / b Division% a % b Modulo division- remainder
Related Documents

View more
Related Search