C tokens are of six types, They are,
- keyword
- identifier
- constant
- string-literal
- punctuator
preprocessing-token:
- head-name
- identifer
- pp-number
- character-constant
- string-literal
- punctuator
- each non-white-space character that cannot be one of the above
reference :
ISO/IEC 9899:201x
N1570
C11
[To be continued]
本文详细介绍了C语言中六种代币类型:关键字、标识符、常量、字符串字面量、标点符号和预处理代币。每种类型都有具体的示例,如头文件名、标识符、预处理数字等,这些内容源自ISO/IEC9899:201x标准。
15万+

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



