Prev Next
 The symbols which are used to perform logical and mathematical operations in a C program are called C operators.
 These C operators join individual constants and variables to form expressions.
 Operators, functions, constants and variables are combined together to form expressions.
 Consider the expression A + B * 5. where, +, * are operators, A, B are variables, 5 is constant and A + B * 5 is an expression.
Types of C operators:
C language offers many types of operators. They are,
 Arithmetic operators
 Assignment operators
 Relational operators
 Logical operators
 Bit wise operators
 Conditional operators (ternary operators)
 Increment/decrement operators
 Special operators
Continue on types of C operators:
Click on each operator name below for detailed description and example programs.
Types of Operators

Description

Arithmetic_operators  These are used to perform mathematical calculations like addition, subtraction, multiplication, division and modulus 
Assignment_operators  These are used to assign the values for the variables in C programs. 
These operators are used to compare the value of two variables.


These operators are used to perform logical operations on the given two variables.


These operators are used to perform bit operations on given two variables.


Conditional operators return one value if condition is true and returns another value is condition is false.


These operators are used to either increase or decrease the value of the variable by one.


&, *, sizeof( ) and ternary operators.

Prev Next
Ask your questions or clarify your/others doubts from,