title: Program crashes when I give printf a pointer to a char array
body: <p>When I try to run the following code I get a seg fault. I've tried running it through gdb, and I understand that the error is occurring as part of calling <code>printf</code>, but I'm lost as to why exactly it isn't working. </p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  
  int main() {
    char c[5] = "Test";
    char *type = NULL;
  
    type = &amp;c[0];
    printf("%s\n", *type);
  }
  </code></pre>
  
  <p>If I replace <code>printf("%s\n", *type);</code> 
  with <code>printf("%s\n", c);</code> I get "Test" printed as I expected. Why doesn't it work with a pointer to the char array?</p>