Operators in C
November 2, 2020
To do different kind of operation, you will find different types of operators in all programming languages. Operators are used to perform operations on variables and values.
C has the following types of operators as follows:
Serial | Operator Type | Description |
---|---|---|
1 | Arithmetic operators | These are used to do arithmetic operations among variables |
2 | Assignment operators | These are used to assign values to variables |
3 | Increment and decrement operators | These are used to increase or decrease values of variables or constants |
4 | Logical operators | These are used to combine conditional statements |
5 | Relational operators | These are used to checks the relationship between two operands |
6 | Bitwise operators | These are used to do binary operation |
7 | Miscellaneous Operators | There are some other operators. i.e. &, *, ?:, sizeof |
Click in each type of operator to know more details about the operator.
In this tutorial, I have shown all operators in C. Hope you have enjoyed the tutorial. If you want to get updated, like my facebook page http://www.facebook.com/freetechtrainer and stay connected.