9.4.5 Operators and punctuators
There are several kinds of operators and punctuators. Operators are used in
expressions to describe operations
involving one or more operands. [Example: For example, the expression a + b
uses the + operator to add the
two operands a and b. end example] Punctuators are for grouping and
separating.
operator-or-punctuator:: one of
{ } [ ] ( ) . , : ;
+ - * / % & | ^ ! ~
= < > ? ++ -- && || << >>
== != <= >= += -= *= /= %= &=
|= ^= <<= >>= ->
There are several kinds of operators and punctuators. Operators are used in
expressions to describe operations
involving one or more operands. [Example: For example, the expression a + b
uses the + operator to add the
two operands a and b. end example] Punctuators are for grouping and
separating.
operator-or-punctuator:: one of
{ } [ ] ( ) . , : ;
+ - * / % & | ^ ! ~
= < > ? ++ -- && || << >>
== != <= >= += -= *= /= %= &=
|= ^= <<= >>= ->
运算符和标点符号介绍
博客介绍了运算符和标点符号。运算符用于表达式中描述涉及一个或多个操作数的运算,如a + b中的 + 运算符;标点符号用于分组和分隔,并列出了具体的运算符和标点符号,如{ }、+ -等。
3763

被折叠的 条评论
为什么被折叠?



