title: Cannot read Command Line Arguments into integer Array C
body: <p>I'm trying to use command line arguments and have it read into an array however the complier is giving me this error:</p>
  
  <p><code>error: invalid initializer
  </code>
  I know I need to use  <code>int main(int argc, char *argv[])</code> to use command line arguments and then I have it set like this to read into the array:</p>
  
  <pre><code> int arr[] = atoi(argv[1]);
  </code></pre>
  
  <p>Not sure what I am missing as this always worked for me in the past. Any ideas?</p>