title: In C how do I dynamically add command line arguments to a string array?
body: <p>At the moment the only way I can see it is by cycling through the argv argument list, getting the largest of the input strings and creating a new dynamic array with this largest size dictating the memory allocation for each element.</p>
  
  <p>Or is there a more straightforward way?</p>