A.10 External Declarations

The unit of input provided to the C compiler is called a translation unit; it consists of a sequence of external declarations, which are either declarations or function definitions.

The scope of external declarations persists to the end of the translation unit in which they are declared, just as the effect of declarations within the blocks persists to the end of the block. The syntax of external declarations is the same as that of all declarations, except that only at this level may the code for functions be given.

TCPL/A.10_External_Declarations (2008-05-22 11:48:47由czk编辑)

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