Difference between declaration of function with extern and without it
<p>There is such code:</p>

<pre><code>#include &lt;iostream&gt;

extern void fun();

int main(){
    fun();
    return 0;
}

void fun(){ std::cout &lt;&lt; "Hello" &lt;&lt; std::endl; }
</code></pre>

<p>Is there some difference between declarations:</p>

<pre><code>extern void fun();
void fun();
</code></pre>

<p>? Code above behaves the same with extern and without extern keyword.</p>
