title: What happens when I add character array with unsigned long in c?
body: <pre><code>#include &lt;stdio.h&gt;
  #include&lt;string.h&gt;
  void  double_string(char ary[])
  {
    char *start = ary;
   // dont exactly know what is happening here nothing is getting printed when consoled
    char *end = ary + strlen(ary);
    char *org = end;
  
    while(start&lt;org)
    {
       *end = *start;
       start++;
       end++;
    }
    *end = '\0';
  }
  
  int main(void) {
     char word[255] = {"TACsasasa"};
     double_string(word);
     printf("%s",word);
    return 0;
  }
  </code></pre>
  
  <p>I am unable to understand what is getting stored in character array "*end", I tried printing it but I am not getting any output printed..</p>