List of Operators and Punctuators

Operators and Punctuators Next

The standard C language provides the following operators and punctuators:

{ }
[ ]
( )
(type)
.
->
++
--
&
*
+
-
~
!
sizeof
/
%
<<
>>
<
>
<=
>=
==
!=
^
|
&&
||
? :
=
*=
/=
%=
+=
-=
<<=
>>=
&=
^=
|=
,
#
##
;
:
" "
...

In addition, GNU C also knows the typeof operator, and extends some existing operators.