title: Resetting Character Array Value
body: <p>I have the following declared globally     </p>
  
  <pre><code>    char a[20] = " ";
      char b[20] = " ";
      char c[20] = " ";
      char d[20] = " ";
  </code></pre>
  
  <p>I need to set these variable to NULL in a method.So i use </p>
  
  <pre><code>void mymethod()
  {
          a[10]=" ";
          b[10]=" ";
          c[10]=" ";
          d[10]=" ";
  }
  </code></pre>
  
  <p>But the variables still retain their old value.What im i doing wrong?</p>