title: Please can anyone explain me this warning while writing a c program(use of extern keyword)
body: <p>file name :- next.c</p>
  <pre><code>extern int global_var = 2;
  </code></pre>
  <p>file name :- try.c</p>
  <pre><code>#include &lt;stdion.h&gt;
  #include &quot;next.c&quot;
  void main()
  {
  printf(&quot;%d&quot;, global_var);
  }
  </code></pre>
  <p>The waring that I am getting</p>
  <pre><code>In file include form try.c:2:0:
  next.c.1.12: warning: 'globl_var' initialized and declared 'extern'
   extern in global_var = 22;
             ^~~~~~~~~
  </code></pre>