title: can't read first character of array in c
body: <p>I'm trying to read the characters of a character array by number in c. I've stripped the program down to isolate the problem. I know this is about my misunderstanding of how arrays and memory works and I am ready to be called clueless but I would like to know what I am misunderstanding here. Here is what I have:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(int argc, char **argv) {
      char buffer[] = "stuff";
      printf("buffer is %s\n", buffer);
      printf("first character of buffer is %s", (char)buffer[0]);
  
      return 0;
  }
  </code></pre>