title: Why adding a Null Character in a String array?
body: <p>I know that we have to use a null character to terminate a string array like this:</p>
  
  <pre><code>char str[5] = { 'A','N','S','\0' };
  </code></pre>
  
  <p>But I just wanted to know why is it essential to use a null character to terminate an array like this?</p>
  
  <p>Also why don't  we add a null charater to terminate these :- </p>
  
  <pre><code>char str1[5]="ANS";
  </code></pre>