Static const variable declaration in a header file
<p>If I declare static const variable in header file like this:</p>

<pre><code>static const int my_variable = 1;
</code></pre>

<p>and then include this header in more than one <code>.c</code> files, will compilator make new instance per each file or will be "smart" enough to see it is <code>const</code> and will make only one instance for all the files?</p>

<p>I know I can make it extern and define it in one of <code>.c</code> files that include this header but this is what I am trying not to do.</p>