标点和特殊字符Punctuation and Special Characters

C 字符集中的标点和特殊字符各有其用途,从组织程序文本到定义编译器或已编译程序所执行的任务。它们不指定要执行的操作。The punctuation and special characters in the C character set have various uses, from organizing program text to defining the tasks that the compiler or the compiled program carries out. They do not specify an operation to be performed. 某些标点符号也是运算符(请参阅运算符)。Some punctuation symbols are also operators (see Operators). 编译器从上下文确定其用途。The compiler determines their use from context.

语法Syntax

punctuator:以下项之一punctuator: one of
( ) [ ] { } * , : = ; ... #( ) [ ] { } * , : = ; ... #

这些字符在 C 中具有特殊含义。本书中将介绍其用途。These characters have special meanings in C. Their uses are described throughout this book. 井号 (#) 只能出现在预处理指令中。The pound sign (#) can occur only in preprocessing directives.

另请参阅See Also

C 的元素Elements of C