Пространства имён
Варианты
Действия

Пунктуация

Материал из cppreference.com

Это символы пунктуации в C. Значение каждого символа объяснено на странице по ссылке.

{ }

[ ]

#

##

( )

;

  • Indicate the end of
  • a statement (including the init-statement of a for statement)
  • a declaration or struct-declaration-list

:

...

?

::

  • In an attribute, indicate attribute scope. (начиная с C23)

.

->

~

!

+

-

*

/

%

^

&

|

=

+=

-=

*=

/=

%=

^=

&=

|=

==

!=

<

>

<=

>=

&&

||

<<

>>

<<=

>>=

++

--

,

References

  • Стандарт C17 (ISO/IEC 9899:2018):
  • 6.4.6 Punctuators (стр. 52-53)
  • Стандарт C11 (ISO/IEC 9899:2011):
  • 6.4.6 Punctuators (стр. 72-73)
  • Стандарт C99 (ISO/IEC 9899:1999):
  • 6.4.6 Punctuators (стр. 63-64)
  • Стандарт C89/C90 (ISO/IEC 9899:1990):
  • 3.1.6 Punctuators

See also

Шаблон:c/language/dsc operator alternative