C Operators
Operators are symbols used to perform operations on values and variables.
Arithmetic Operators
-
-
-
- /
- %
Relational Operators
- ==
- !=
-
- <
-
=
- <=
Logical Operators
- &&
- ||
- !
Assignment Operator
The = operator assigns a value to a variable.
Example
int a = 10;
int b = 3;
printf("%d", a + b);