title: I want a confirmation print everytime it fill 64 integers. ? how to check if i == 64
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      int i;
      int *buff;
      int j = 0;
      buff = malloc(sizeof(int) * 512);
  
      for (i = 0; i &lt; 512; i++) {
          buff[i] = i;
          if (i &amp; 0x7f == 64) {
              j++;
              printf("completed %d part out of total %d parts ints\n", j, 512 / 64);
          }
      }
      printf("filling completed\n");
  
      return 0;
  }
  </code></pre>
  
  <p>but the program control never going into <code>if</code> statement inside for loop.
  I want to get a print statement every time it fills 64 integers.</p>
  
  <p>Thank you.</p>