title: const char passed to a function is not reflecting back
body: <p>I want to change the contents of a <code>constant-character-array</code>(<code>const array[64]</code>).<br>
  Below is my code.<br>
  My <strong>Question</strong> is, why does the constant character array doesn't change(not reflected back), when passed to the function as constant character pointer(<code>const char *append</code>)</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;string.h&gt;
  
  int function(char *d,const char *append)
  {
   append = d; //changing the location of append.
   printf ("%s\n",append); //displays as sachintendulkar.
  }
  
  int main()
  {
      char *d = NULL;
      const char append[]={'s','a','c','h','i','n'};
      d = calloc(sizeof(char),sizeof(append));
      strcpy(d,append);
      strcat(d,"tendulkar"); //appending
      function(d,append);
      printf ("%s\n",append); //Its displays as sachin instead of sachintendulkar???
  }
  </code></pre>