Unary and Binary Operator Table

Below you’ll find all the unary and binary operators in one easy table:

Operator Name Type
! Logical NOT Unary
& Address-of Unary
( ) Cast Operator Unary
* Pointer dereference Unary
+ Unary Plus Unary
++ Increment Unary
Unary negation Unary
–– Decrement 1 Unary
~ complement Unary
, Comma Binary
!= Inequality Binary
% Modulus Binary
%= Modulus assignment Binary
& Bitwise AND Binary
&& Logical AND Binary
&= Bitwise AND assignment Binary
* Multiplication Binary
*= Multiplication assignment Binary
+ Addition Binary
+= Addition assignment Binary
Subtraction Binary
–= Subtraction assignment Binary
–> Member selection Binary
–>* Pointer-to-member selection Binary
/ Division Binary
/= Division assignment Binary
< Less than Binary
<< Left shift Binary
<<= Left shift assignment Binary
<= Less than or equal to Binary
= Assignment Binary
== Equality Binary
> Greater than Binary
>= Greater than or equal to Binary
>> Right shift Binary
>>= Right shift assignment Binary
^ Exclusive OR Binary
^= Exclusive OR assignment Binary
| Bitwise inclusive OR Binary
|= Bitwise inclusive OR assignment Binary
|| Logical OR Binary
This entry was posted in C Language Reference. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed. Tweet This! Tweet This! or use to share this post with others.

There are currently 8 responses to “Unary and Binary Operator Table”

Why not let us know what you think by adding your own comment!

  1. sadia on May 8th, 2011:

    thnxxxxxxxxxxxxxxxxxxxxxx

  2. varsha on August 31st, 2011:

    thanq it’s very useful 2 us 😀

  3. sudhakar on September 22nd, 2011:

    it is very helpfull

  4. ramesh on January 28th, 2012:

    really, very good

  5. rita on March 26th, 2012:

    thanx its help me lot

  6. ankur on June 3rd, 2012:

    thnx alot ……good work

  7. prabu on August 19th, 2012:

    very helpful

  8. rajeswari on April 4th, 2014:

    thanks its very useful