Linkage in Names with Block Scope

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Linkage in Names with Block Scope.

The following linkage rules apply to names with block scope (local names):

  • Names declared as extern have external linkage unless they were previously declared as static.

  • All other names with block scope have no linkage.

Program and Linkage

Show: