• Follow Us


In this article, we will learn about Operators In C Programming Language and will discuss the types of operators and its descriptions.

What are operators in the C programming language?
Operators in C programming language is used to perform logical and mathematical operations.

In C Programming language the types of operators are as follows:

1. Arithmetic operators: Used for operations like Addition, Subtraction, Multiplication, division, and modulus are done using arithmetic operators.
The symbol used for Arithmetic Operators in C programming language is “+”.

int sum=a+b;


2. Assignment operators: Used to assign values of the variables.
The symbol used for Assignment Operators in C programming language is =, +=, -=, *=, etc.

int a=5;
int b;
b=a;//assigning value of b to a;

3. Relational operators: Used for comparison of the value of two variables.
The symbol used for Relational operators in C programming language is ==, != , >, <, >= & <=.

return 1;

4. Logical operators: Used to control program flow.
5. Bitwise operators: Used to do bit operations on two variables.
The symbol used for Bitwise operators in C programming language is &, |, ^, ~, >> and <<.
6. Conditional operators (ternary operators): Used to execute the first statement if the condition is true and executes another statement if the condition is false.
7. Increment/decrement operators: Used to increment or decrement the value of a variable
8 Special operators: There are some special operators in C programming Language like &, *, sizeof( ), and ternary operators.

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping cart