Home Contact About

Chapter-2|Operators and Expressions


Introduction to operators

C suppourts number of built-in operators. Some of them are + , - , * , & and many more.. C operators are mainly divided into 7 types, which are:

  1. Arthemetic Operators
  2. Relational Operators
  3. Logical Operators
  4. Assignment Operators
  5. Increment and Decrement Operator
  6. Conditional Operators
  7. Special Operator

Arithemetic Expressions

An arithmetic expression is a mathematical equation composed of numbers, variables, and arithmetic operators such as addition, subtraction, multiplication, and division. It
evaluates to a single numerical value when the variables are assigned specific values.
We will learn about arithemetic expressions by dividing them in x parts, which are

  1. Evaluation of expressions
  2. Precedence of Arithmetic
  3. Some computational problems
  4. Type Conversion in Expressions
  5. Operator Precedence And associativity
  6. Mathemetical Functions