title: E2140 expression must have integral or unscoped enum type
body: <pre class="lang-cpp prettyprint-override"><code>int *fillArray(int* array,const int arraySize, const int min, const int max) 
  { 
      srand(time(0));
      for (size_t i = 0; i &lt; arraySize; i++) 
      { 
          array[i] = rand % (max - min + 1) - min; 
      } 
  }
  </code></pre>