title: Argument variables in C
body: <p>I am writing a method that takes in a number n and n ints(a variable number) and this function will return the sum of the ints not including n. I am stuck on how to access each paramater individually. Here is what I have so far, I read about it online and hopefully I am on the right track. 
  method that seem to be useful found on the net are:</p>
  
  <pre><code>va_start()
  va_arg()
  va_end()
  
  
  int sumv(int n, ...)
  {
    va_list list;
    int sum = 0;
    while(n&gt;0)
    {
      //*********************
      //this is the part where I am stuck on, how do I get each paramater?
      //I know it will be an int
      //*********************
      n--;
    }
    return sum;
  }
  </code></pre>