title: What happens when static variable is declared twice?
body: <pre><code>    #include &lt;stdio.h&gt;
      void func();
  
      int main()
      {
          static int b = 20;
          func();
      }
  
      void func()
      {
          static int b;
          printf("%d", b);
      }
  </code></pre>
  
  <p>Output: <code>0</code></p>
  
  <p>Is a new memory location created when the second static variable is declared?</p>