title: C Replace a string from a 2d char array using strcpy Issue
body: <p>Why does it print out the new word minus the first character when i <code>printf("%s\n",array[0])</code> and not <code>"Hello"</code>. Any tips for how to do solve that ?
  Thanks in advance !</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  
  int main()
  {
    char newword;
    char array[100][20]={
      {'H','e','l','l','o'},
      {'W','o','r','l','d'},
   };
      printf("%s\n",array[0]);
      printf("%s\n",array[1]);
  
      printf("Type a new word: ");
      scanf("%s",&amp;newword);
  
      strcpy(array[1],&amp;newword);
      printf("%s\n",array[0]);
      printf("%s\n",array[1]);
  
     return 0;
   }
  </code></pre>