title: Function with three dots argument
body: <p>Recently I found function prototype with three dots argument. I wrote my own function and it compiled well:</p>
  
  <pre><code>void func(int a, ...){}
  </code></pre>
  
  <p>What does that mean?</p>
  
  <p><strong>update</strong></p>
  
  <p>Thank you guys! I figured it out. Here's my example:</p>
  
  <pre><code>void func(unsigned int n_args, int arg, ...)
  {
      for(unsigned int i = 0; i &lt; n_args; ++i)
          cout &lt;&lt; *((int*)&amp;arg + i) &lt;&lt; ' ';
  }
  </code></pre>
  
  <p>This function prints out arguments separated by space character.</p>