Operators in C Programming

“Operator is a symbol that is used to perform mathematical operations.”

We can use operators in c to perform mathematical operations, to check conditions, value assignment to variable, changing the value of a variable.

Followings are the most commonly used operators in C language.

___________________________________________
Operator Name		Operators
___________________________________________
Assignment		=
Arithmetic		+, -, *, /, %
Logical			&&, ||, !
Relational		<, >, <=, >=, ==, !=
Shorthand		+=, -=, *=, /=, %=
Unary			++, --
Conditional		()?:;
Bitwise			&, |, ^, <<, >>, ~
___________________________________________

Types of Operator :
1. Assignment Operator
2. Arithmetic Operators
3. Logical Operators
4. Relational Operators
5. Shorthand Operators
6. Unary Operators
7. Conditional Operator
8. Bitwise Operators

Leave A Comment

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