title: c assigning string pointer to other string pointer
body: <p>I have that code:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main()
  {
      char *str = "aaaaaaaa";
      char *stt = "bbbbbbbb";
      *str = *stt;
      printf("%s\n", str);
  
  return 0;
  }
  </code></pre>
  
  <p>it gives me an error:
  Access violation writing location,
  someone can explain me why and how to over come this?</p>