链接Linkage

标识符名称可引用不同范围内的各个标识符。Identifier names can refer to different identifiers in different scopes. 在不同的范围内或在同一范围内多次声明的标识符可以通过称为“链接”的过程来引用同一标识符或函数。An identifier declared in different scopes or in the same scope more than once can be made to refer to the same identifier or function by a process called "linkage." 链接确定可在其中引用标识符的程序的部分(其“可见性”)。Linkage determines the portions of the program in which an identifier can be referenced (its "visibility"). 有三种链接:内部外部无链接There are three kinds of linkage: internal, external, and no linkage.

另请参阅See Also

使用 extern 指定链接Using extern to Specify Linkage