title: Warning: comparison between pointer and integer [enabled by default]
body: <p>So, I'm just practicing something in C language (I'm a beginner), but I'm now stuck on this program:</p>
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  
  int main(){
      int numbers[12] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37};
      int i;
      int *point;
  
      point = numbers;
  
      while(i){
  
          printf(&quot;Write number in ranging 1 - 40: \n&quot;);
          scanf(&quot;%d&quot;, &amp;numbers);
  
          if (numbers, point){
              printf(&quot;Your number is prime number.\n&quot;);
          }
          else if ((numbers &lt;= 0) || (numbers &gt;= 41)){
              printf(&quot;Only numbers: 1 - 40.\n&quot;);
          }
          else{
              printf(&quot;Try again.\n&quot;);
          }
  
          i;
      }
      return 0;
  }
  </code></pre>
  <p>When I want to compile it, I just get this error message:</p>
  <blockquote>
  <p>test.c: In function ‘main’:</p>
  <p>test.c:19:38: warning: comparison between pointer and integer [enabled by default]</p>
  </blockquote>
  <p>I looked around Stack Overflow, but I found nothing of similar topic and didn't help me.</p>