title: Read const value from int** initialized from int[][]
body: <p>My goal is to access <code>max_resources_per_client[1][1]</code>.</p>
  
  <p>In <code>conf.c</code> that can't be modified, I got:</p>
  
  <pre><code>#define NUM_CLIENTS 5
  #define NUM_RESOURCES 3
  const unsigned int num_clients = NUM_CLIENTS;
  const unsigned int num_resources = NUM_RESOURCES;
  const unsigned int max_resources_per_client[NUM_CLIENTS][NUM_RESOURCES] = {
    {7, 5, 3},
    {3, 2, 2},
    {9, 1, 2},
    {2, 2, 2},
    {4, 3, 3},
  };
  </code></pre>
  
  <p>In my file <code>main.c</code> I have:</p>
  
  <pre><code>extern const unsigned int num_clients;
  extern const unsigned int num_resources;
  extern const unsigned int **max_resources_per_client;
  </code></pre>
  
  <p>How can I access <code>max_resources_per_client[1][1]</code> without causing a segmentation fault?</p>
  
  <hr>
  
  <p>Note: Trying to do </p>
  
  <p><code>extern const unsigned int max_resources_per_client[num_clients][num_resources];</code></p>
  
  <p>results in an error: <code>variably modified ‘max_resources_per_client’ at file scope</code></p>
  
  <hr>
  
  <p>Note: Trying to do <code>extern const unsigned int max_resources_per_client[NUM_CLIENTS][NUM_RESOURCES];</code></p>
  
  <p>results in error: <code>NUM_RESOURCES’ undeclared here (not in a function)</code></p>