title: How would I make an array of all the integers between 0 and 1000?
body: <p>Not finding this anywhere online google... And I'm not typing out the numbers one by one either because there has to be an easier way!</p>
  
  <pre><code>int myFunction(void) { 
          //numbers = ??????;
          int sum = 0;
          for(int i = 0; i &lt; sizeof(numbers); i++) {
                  int currentNumber = numbers[i];
                  if (currentNumber % 3 == 0 || currentNumber % 5 == 0) {
                          sum = sum + currentNumber;      
                  }       
          }       
          printf("%d", sum);
  }    
  </code></pre>
  
  <p>UPDATE</p>
  
  <p>Someone in the comments made a good point about just setting the condition of the for loop, however i'm still curious how one would make an array of integers [0,1,2,3,4..1000]</p>