title: Why don't I need to dereference a character pointer in C before printing it?
body: <p>Why does this code work? I would expect that I would need to dereference <code>ptr</code>,  <code>printf("%s\n", *ptr);</code> before I could print it out, but I get a <code>Segmentation Fault</code> if I try to do it that way.  </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(int argc, char *argv[])
  {
          char name[] = "Jordan";
          char *ptr = name;
          printf("%s\n", ptr);
  }
  </code></pre>
  
  <p>Hope you guys could give me some insight. </p>