title: Pointer-array-extern question
body: <p><strong>File 1.c</strong></p>
  
  <pre><code>int a[10];
  </code></pre>
  
  <p><strong>File main.c:</strong></p>
  
  <pre><code>extern int *a;
  
  int main()
  {
      printf("%d\n", a[0]);
      return 0;
  }
  </code></pre>
  
  <p>Gives me a segfault! What's going wrong?</p>