title: C: Taking int array as input without loop?
body: <p>So I have this code:</p>
  
  <pre><code>int main(){
   printf("How many members are they?");
   int howManyMember;
   scanf("%d",&amp;howManyMember);
   int theListOfNumber[howManyMember];
   /* Asks for some user entered numbers */
   /* Then prints the array */
   return 0;
  }
  </code></pre>
  
  <p>I'd like to ask for the "previously user entered" amount of number from the user, but I'm told not to ask in loop so something like this is not expected.</p>
  
  <pre><code>int x;
  for (x=0;x&lt;howManyMember; x++){
   scanf("%d",&amp;theListOfNumber[x])
  }
  </code></pre>
  
  <p>So when I get the input, I will get the input as</p>
  
  <pre><code>arrayMember0 arrayMember1 ... arrayMemberN
  </code></pre>
  
  <p>not</p>
  
  <pre><code>arrayMember0
  arrayMember1
  arrayMember...
  arrayMemberN
  </code></pre>
  
  <p>I tried <code>fgets()</code>but it turns out only for string. Any help will be appreciated =)</p>
  
  <p>Note: Please do note, that how many number is asked is not fixed. It is based on user input.
  Thanks!</p>