title: How to allocate array of pointers for strings by malloc in C?
body: <p>I have this struct in C
  Example: </p>
  
  <pre><code>typedef struct 
  {
      const char * array_pointers_of_strings [ 30 ];
      // etc.
  } message;
  </code></pre>
  
  <p>I need copy this array_pointers_of_strings to new array for sort strings. I need only copy adress.</p>
  
  <pre><code>while ( i &lt; 30 )
  {
     new_array [i] = new_message-&gt;array_pointers_of_strings [i]; 
     // I need only copy adress of strings
  }
  </code></pre>
  
  <p>My question is: How to allocate new_array [i] by malloc() for only adress of strings?</p>