title: What does this C warning mean? "int format, pointer arg"
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      // Declarations
      int iCount1, iCount2;
      int iXXTest[4][3] = {{2, 3, 5}, {9, 8, 6}, {1, 8, 4}, {5, 9, 7}};
  
      // Walk through 1st dimension
      for (iCount1 = 0; iCount1 &lt; 4; iCount1++) {
          // Walk through 2nd dimension
          for (iCount2 = 0; iCount2 &lt; 3; iCount2++) {
              printf("iXXTest[%d][%d] is at address %d and has a value of %d.\n", iCount1, iCount2, &amp;iXXTest[iCount1][iCount2], iXXTest[iCount1][iCount2]);
          }
      }
  
      return 0;
  }
  </code></pre>
  
  <p>This line generates a warning:</p>
  
  <pre><code>printf("iXXTest[%d][%d] is at address %d and has a value of %d.\n", iCount1, iCount2, &amp;iXXTest[iCount1][iCount2], iXXTest[iCount1][iCount2]);
  </code></pre>
  
  <blockquote>
    <p>int format, pointer arg (arg 4)</p>
  </blockquote>
  
  <p>What is this warning about and how can I resolve it?</p>