title: Iterate through char array and print chars
body: <p>I am trying to print each char in a variable.</p>
  
  <p>I can print the ANSI char number by changing to this <code>printf("Value: %d\n", d[i]);</code> but am failing to actually print the string character itself.</p>
  
  <p>What I am doing wrong here?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main(int argc, char *argv[])
  {
    int len = strlen(argv[1]);
    char *d = malloc (strlen(argv[1])+1);
    strcpy(d,argv[1]);
  
    int i;
    for(i=0;i&lt;len;i++){
      printf("Value: %s\n", (char)d[i]);
  } 
      return 0;
  }
  </code></pre>