title: Split string into INT array in c
body: <p>I got string containing numbers separated by spaces. Numbers can be single-digit, two-digit, or perhaps more-digit. Check the example. </p>
  
  <pre><code>"* SEARCH 2 4 5 12 34 123 207"
  </code></pre>
  
  <p>I don't know how long the string is (how many numbers it contains), so I cant initiate the array properly. The result should look like this:</p>
  
  <pre><code>array = {2,4,5,12,34,123,207}
  </code></pre>
  
  <p>Do you have any ideas how to perform this?</p>