title: Copy char* in C
body: <p>Why does this function work?<br>I don't think that this is the proper way to copy a <code>char*</code> in C.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
  
      const char* original = "TEST";
      char* copy;
      copy = original;
  
      printf("%s\n", original);
      printf("%x\n", &amp;original);
      printf("%s\n", copy);
      printf("%x\n", &amp;copy);
  
      return 0;
  }
  </code></pre>