版本1和5间的区别 (跳过第4版)
于2007-07-18 22:43:23修订的的版本1
大小: 1132
编辑: czk
备注:
于2008-05-22 11:48:18修订的的版本5
大小: 1235
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
## page was renamed from TCPL/A.8 Declarations
行号 24: 行号 25:



<<Include(^TCPL/A\.08\.[0-9]*_.*,,titlesonly)>>

A.8 Declarations

Declarations specify the interpretation given to each identifier; they do not necessarily reserve storage associated with the identifier. Declarations that reserve storage are called definitions. Declarations have the form

  • declaration:
    • declaration-specifiers init-declarator-listopt;

The declarators in the init-declarator list contain the identifiers being declared; the declaration-specifiers consist of a sequence of type and storage class specifiers.

  • declaration-specifiers:
    • storage-class-specifier declaration-specifiersopt type-specifier declaration-specifiersopt type-qualifier declaration-specifiersopt
    init-declarator-list:
    • init-declarator init-declarator-list , init-declarator
    init-declarator:
    • declarator declarator = initializer

Declarators will be discussed later (Par.A.8.5); they contain the names being declared. A declaration must have at least one declarator, or its type specifier must declare a structure tag, a union tag, or the members of an enumeration; empty declarations are not permitted.

TCPL/A.08_Declarations (2008-05-22 11:48:18由czk编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.