title: Compile error with function void
body: <p>In c programming language, i get compile error in this function, can someone tell me what's wrong? I get this after compiling:</p>
  
  <blockquote>
    <p>tak.c: In function ‘ispis’: tak.c:30:2: warning: format ‘%d’ expects
    argument of type ‘int’, but argument 4 has type ‘int *’ [-Wformat]</p>
  </blockquote>
  
  <p>Here is code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  struct takmicar {
      char ime[20];
      char prez[20];
      int god;
      char drz[4];
  };
  
  void ispis (struct takmicar niz[50], int n) {
  int i;
  for (i=0; i&lt;n; i++) {
      printf ("%s %s %d %s \n", niz[i].ime, niz[i].prez, &amp;niz[i].god, niz[i].drz);
  }
  }
  </code></pre>