C divides the operators into the following groups:
Arithmetic Operators
Unary Operators
Relational and Logical Operators
Assignment Operators
Conditional Operator
Arithmetic operators are used to perform common mathematical operations.
Output:
Arithmetic operators are used to perform common mathematical operations.
Increment. (++)
Decrement. (--)
Output:
There are six relational operators in C. They are,
Note: Relational operators work as a true or false. if true then return 1 or return 0.
Output:
+=, -=,*=,/= those are assignment operators.
Output: