Different types of Operators in the C programming language

Nazim Alvi
2 min readMay 26, 2021

--

The symbols that operate on the value(s) or the variable(s) are termed as operators. The operators inform the compiler to carry out some particular functions that may be logical or mathematical.

There are lots of built-in operators in the C programming language to perform different types of operations. In this post, you will learn various types of operators and their uses through some basic programs. So stay with us and keep learning!

There are the following types of operators in the C programming language:

  1. Arithmetic Operators
  2. Relational Operators
  3. Logical Operators
  4. Bitwise Operators
  5. Assignment Operators
  6. Conditional Operator
  7. Increment/Decrement Operators
  8. Some other Operators

Let’s learn all these types one by one.

Arithmetic operators:

The operators which are used to perform some mathematical operations like additions, subtraction, multiplication, division, modulus, etc. on some numerical values or variables are termed, arithmetic operators. All Arithmetic Operators of the C language are listed below:

C program to illustrate the Arithmetic Operators:

Output:

Click here to read full article: https://alvinser.com/different-types-of-operators-in-c-programming-language.html

--

--

Nazim Alvi
Nazim Alvi

No responses yet