title: assign value to char pointer, but say Access violation writing location
body: <pre><code>void main() {
      char *x;
      x="abc";
      *x='1';
  }
  </code></pre>
  
  <p>Why it comes with error "Access violation writing location"?</p>
  
  <p>I cannot assign value to <code>x</code> by <code>*x='1'</code>?</p>