Lifetime of "extern" variable in C?
<p>What is the lifetime of variable <code>p</code> if it is declared as <code>extern int p;</code></p>

<p>Is it static, dynamic, automatic or it has no lifetime because there is no linkage?</p>