These are the punctuation symbols in C. The meaning of each symbol is detailed in the linked pages.
{
}
[
]
#
##
(
)
sizeof
or _Alignof
(since C11) expression, delimit the operand. if
, switch
, while
, do-while
, or for
statement, delimit the controlling clause. defined
, __has_include
, or __has_c_attribute
(since C23) preprocessing operator. _Atomic
type specifier, delimit the type-id. (since C11) _Alignas
specifier, delimit the operand. (since C11) ;
:
...
?
default
and the selected expression. (since C11) ::
.
->
~
!
+
-
*
/
%
^
&
|
=
+=
-=
*=
/=
%=
^=
&=
|=
==
!=
<
#include
directive. >
#include
directive <=
>=
&&
||
<<
>>
<<=
>>=
++
--
,
Alternative representations (C95) | alternative spellings for certain operators |
C++ documentation for Punctuation |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/c/language/punctuators