title: warning: format '%c' expects type 'int', but argument 2 has type 'char *'
body: <p>I'm trying to print all characters stored in hex array to the screen, one by one, but I get this strange error in line 16. As far as I know, %c should be expecting a char, not an int.
  Why I'm getting this error?
  Below is my code, thanks.</p>
  
  <pre><code>    #include &lt;stdio.h&gt;
      #include &lt;stdlib.h&gt;
      #include &lt;limits.h&gt;
      #include &lt;ctype.h&gt;
      #include &lt;string.h&gt;
  
      int main() 
      {
          char hex[8] = "cf0a441f";
          int hexCounter;
          char *currentHex;
  
          for(hexCounter=0; hexCounter&lt;strlen(hex); hexCounter++)
          {
              currentHex = &amp;hex[hexCounter];
              printf("%c",currentHex);
          }   
           return 0;
      }
  </code></pre>