空白字符White-Space Characters

空格、制表符、换行符、回车符、换页符、垂直制表符和换行符称为“空白字符”,因为它们与打印页上的单词和行之间的空格一样都是起到方便阅读的作用。Space, tab, linefeed, carriage-return, formfeed, vertical-tab, and newline characters are called "white-space characters" because they serve the same purpose as the spaces between words and lines on a printed page — they make reading easier. 标记由空白字符和其他标记分隔(划分边界),如运算符和标点。Tokens are delimited (bounded) by white-space characters and by other tokens, such as operators and punctuation. 在分析代码时,C 编译器将忽略空白字符,除非您将它们用作分隔符或者字符常量或字符串文本的组成部分。When parsing code, the C compiler ignores white-space characters unless you use them as separators or as components of character constants or string literals. 使用空白字符可以让程序更易于阅读。Use white-space characters to make a program more readable. 请注意,编译器也将注释视为空白。Note that the compiler also treats comments as white space.

另请参阅See Also

C 标记C Tokens