C++ usage extern in front of function
<p>I have seen an interview question from Bloomberg from here: <a href="http://www.careercup.com/question?id=383154" rel="nofollow">http://www.careercup.com/question?id=383154</a></p>

<pre><code>extern void print(int *a, int z);
void print(int *a, int z);
</code></pre>

<p>Question 1> Will it compile?</p>

<p>Question 2> If it compiles, what does it mean?</p>

<pre><code>extern int i;
int i;
</code></pre>

<p>Question 3> Will it compile?</p>

<p>Question 4> If it compiles, what does it mean?</p>
