title: Declare large global array
body: <p>What is the best practice for declaring large, global arrays in C?  For example, I want to use <code>myArray</code> throughout the application.  However, I lose the use of sizeof() if I do this:</p>
  
  <pre><code>// file.c
  char* myArray[] = { "str1", "str2", ... "str100" };
  
  //file.h
  extern char* myArray[];
  
  
  // other_file.c
  #include "file.h"
  size_t num_elements = sizeof( myArray ); // Can determine size of incomplete type.
  </code></pre>