PPS Unit-2
PPS Unit-2
Unit - 2
FUNDAMENTALS OF ELECTRONICS ENGINEERING
BCS 101 / 201 (BEC-101/201)
• Operators
• An operator is a symbol that tells the compiler to perform certain mathematical or logical
manipulations. They form expressions.
C operators can be classified as
1. Arithmetic operators
2. Relational operators
3. Logical operators
4. Assignment operators
5. Increment or Decrement operators
6. Conditional operator
7. Bit wise operators
8. Special operators
• An arithmetic operation involving only real operands(or integer operands) is called real
arithmetic(or integer arithmetic). If a combination of arithmetic and real is called mixed
mode arithmetic.
• For Example:
6*2/ (2+1 * 2/3 + 6) + 8 * (8/4)
For Example:
1. a*b == a+b
2. a+b*c > a*b + c
• For Example:
1. (a+b)>c && a<b
2. a>b || b>a
For Example:
1. 2<3? 2 : 3
2. a*b>c ? true : false
THANK YOU
For
Watching