6.7.6 声明符
语法
1、declarator:
pointeropt direct-declarator
direct-declarator:
identifier
( declarator )
direct-declarator [ type-qualifier-listopt assignment-expressionopt ]
direct-declarator [ static type-qualifier-listopt assignment-expressionopt ]
direct-declarator [ type-qualifier-listopt static assignment-expressionopt ]
direct-declarator [ type-qualifier-listopt * ]
direct-declarator ( parameter-type-list )
direct-declarator ( identifier-listopt )
pointer:
* type-qualifier-listopt
* type-qualifier-listopt pointer
type-qualifier-list:
type-qualifier
type-qualifier-list type-qualifier
parameter-type-list:
parameter-list
parameter-list , ...
parameter-list:
parameter-declaration
parameter-list , parameter-declaration
parameter-declaration:
declaration-specifier declarator
declaration-specifier abstract-declaratoropt
identifier-list:
identifier
identifier-list , identifier
语义
2、每个声明符声明了一个标识符,并且断言,当一个操作数与声明符的形式相同,并出现在一个表达式中时,该操作数指派了一个函数或对象,由声明说明符所指示的作用域、存储周期和类型。
3、