# Static and extern keywords in C

DevFeed: [Static and extern keywords in C](<https://devfeed.tech/articles/static-and-extern-keywords-in-c-40742.md>)

Original publisher: [Read original article](<https://radek.io/posts/static-and-extern-keywords-in-c/>)

Published: 2011-09-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [Radek Pazdera](<https://devfeed.tech/sources/radek-pazdera.md>)

Topics: [C](<https://devfeed.tech/topics/c.md>), [standard](<https://devfeed.tech/topics/standard.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [external](<https://devfeed.tech/tags/external.md>), [function](<https://devfeed.tech/tags/function.md>), [local-variables](<https://devfeed.tech/tags/local-variables.md>), [memory](<https://devfeed.tech/tags/memory.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [scope](<https://devfeed.tech/tags/scope.md>), [standard](<https://devfeed.tech/tags/standard.md>)

## AI overview

A tutorial explaining how the static and extern keywords in C affect linkage, storage duration, memory allocation, and visibility across scopes and compilation units. It also describes external, internal, and no linkage, along with static and automatic storage duration.

## Source excerpt

What does the C standard actually say about these?