title: Arguments in Array list and pass to new function? C
body: <p>Is it possible to put all the arguments in a array list and pass to new function? How would I start working that?</p>
  
  <p>For example:</p>
  
  <pre><code>int arr(char *argv[]);
  int main(int argc, char *argv[]){
      //how do I start? Run the for-loop to get all the arguments from the command line. Then how do I pass to arr function.
  }
  
  int arr(char *argv[]){
      //return printing out all the arguments. 
  }
  </code></pre>
  
  <p>How would I get all the arguments from command line to arr function? Examples would be great. I am just having trouble figuring out how to get all the arguments to new function.</p>