title: Reversing char array in C programming
body: <p>I am new to c programming language. I am trying to reverse elements in char array. Actually, I almost reversed but there is something that I can't make it.
  Here is code:</p>
  
  <pre><code>void q2_reverseTheArray(char word[100]){
  int lentgh=sizeof(word);
  int j;
  for(j=length+1; j&gt;=0; j--){
      printf("%c", word[j]);
  }
  </code></pre>
  
  <p>The code reverse the array but it adds another letter. </p>