C Programming Operators
Less than (relational operator)
<
Assign shift-left equal (assignment operator)
<<=
Less than equal (relational operator)
<=
Assign equal (assignment operator)
=
Equal (relational operator test values for equality)
==
Logical Not (logical operator)
!
Not equal (relational operator)
!=
Modulus (arithmetic operator)
%
Assign modulus equal (assignment operator)
%=
Character (conversion character)
%c
Integer (conversion character)
%d
Floating-point (conversion character)
%f
String (conversion character)
%s
The address of (data operator)
&
Logical And (logical operator)
&&
Assign and equal (assignment operator)
&=
Parentheses
( )
Multiply (arithmetic operator)
*
Multi-line comment end
*/
Assign multiply equal (assignment operator)
*=
Add (arithmetic operator)
+
Increment (arithmetic operator)
++
Assign plus equal (assignment operator)
+=
Comma
,
Subtract (arithmetic operator)
-
Decrement (arithmetic operator)
--
Assign minus equal (assignment operator)
-=
Divide (arithmetic operator)
/
Multi-line comment start
/*
Single-line comment start
//
Assign divide equal (assignment operator)
/=
Colon
:
Greater than (relational operator)
>
Greater than equal (relational operator)
>=
Assign shift-right equal (assignment operator)
>>=
Get the size of (data operator)
Size of ( )
Array subscript (data operator)
[ ]
Braces
{ }
Assign or equal (assignment operator)
|=
Logical Or (logical operator)
||