Operator in C


In C programming language operator is a symbol that helps in calculation, creating decision etc.



Arithmetic Operators in c


Operator Name
- Substraction
+ Addition
* Multiplication
% Modulus
/ Division

Decrement & Increment Operators in c


Operator Name Description
-- Decrement It’s decremnet one value
++ Increment It’s increment one value

Logical Operators in c


Operator Name Description
! NOT It’s works’ with negation on an expression
|| OR It’s wok’s with single and multiplication condition
&& AND It’s work’s with Multiple condition if both are ture

Relational Operators in c


Operator Name Description
< Less than it works if less than
== is equal to For check any number & character
<= Less than or equal it work with both less or equal
> Greater than it work if greater than
>= Greater than or equal it work with both greater or equal
!= Not equal to If work with is not equal to

Bitwise Operators in c


Operator Name
>> Binary Right shift operator
<< Binary Left shift operator
& Binary AND Operator
~ Binary Ones Complement Operator
| Binary OR Operator
^ Binary XOR Operator

Miscellaneous Operators in C


Operator Name
& find address of a variable
?:; Conditional statement
, Comma Operator
* pointer variable declaration