title: program to read a char array in c
body: <p>I am quite new with C. </p>
  
  <pre><code>#include &lt;string.h&gt;
  #include &lt;stdio.h&gt;
  int main(int argc, char *argv[])
  { 
      char* c=argv[1];
      for (int i=0;i&lt;sizeof(c);i++)
      {
          printf("%c\n",c[i]);
      }
      return 0;
  }
  </code></pre>
  
  <p>I am trying to write a program to print every character of a word. </p>
  
  <p>When I try with test: It displays
  t
  e
  s
  t
  When I try with testtesttest: It displays:
  t
  e
  s
  t</p>
  
  <p>I don't understand why, can you tell me why please?</p>