Operators in C :
"Operator is a symbol that is used to perform mathematical operations."
When we use a variable in a program then we have to mention the type of data. This can be handled using data type in C.
Followings are the most commonly used data types in C.
|Arithmetic||+, -, *, /, %|
|Logical||&&, ||, !|
|Relational||<, >, <=, >=, ==, !=|
|Shorthand||+=, -=, *=, /=, %=|
|Bitwise||&, |, ^, <<, >>, ~|
Operator's Precedence and Associativity :
Link this post on your Blog/Website :