title: expression must have integral or unscoped enum type with arrays
body: <p>I am writing this code to read a N integer array, then I suppose to check the even numbers and print them alone.</p>
  
  <p>this is what I wrote,  but I get this error: 
  expression must have integral or unscoped enum type</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void main(){
      int N;
      int count_even = 0, count_odd = 0;
      scanf_s("%d", &amp;N);
      float *arr = new float[N];
      for (int i = 0; i &lt; N; i++){
          scanf_s("%f", &amp;arr[i]);
      }
      for (int j = 0; j &lt; N; j++){
          if (arr[j] % 2 == 1){
              count_odd++;
          }
      }
  }
  </code></pre>
  
  <p>the error on this line: " if (arr [j]) % 2 ==1)</p>