Posts Tagged ‘linkage’

C++ static keyword

Tuesday, June 23, 2009 1:10 No Comments

The static keyword can be used in the following situations. When you declare a variable or function at file scope (global and/or namespace scope), the static keyword specifies that the variable or function has internal linkage. When you declare a variable, the variable has static duration and the compiler initializes it to 0 unless you [...]

This was posted under category: C++, Programming Tags: , , , ,