title: C, reading multiple numbers from single input line (scanf?)
body: <p>I have written an app in C which expects two lines at input.
  First input tells how big an array of int will be  and the second input contains values separated by space.
  For example, the following input</p>
  
  <pre><code>5
  1 2 3 4 99
  </code></pre>
  
  <p>should create an array containing <code>{1,2,3,4,99}</code></p>
  
  <p>What is the fastest way to do so? My problem is to read multiple numbers without looping through the whole string checking if it's space or a number?</p>
  
  <p>Thanks.</p>