title: Why this error: incompatible pointer to integer conversion?
body: <p>Please have a look at the code, clang is giving me the error "incompatible pointer to integer conversion", why is it happening?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  int main (void)
  {
      char* name;
      name = malloc (sizeof(char) * 6);
      *name = "david";
      return 0;
  }
  </code></pre>