title: Will the above array a1 have null character in the 2nd index even though i haven not placed it
body: <pre><code>char a1[30]={'h','e'}
  </code></pre>
  
  <p>will the above array a1 have null character in the 2nd index even though i haven not placed it.</p>
  
  <pre><code>char a2[30]={'h','e','\0'}
  </code></pre>
  
  <p>when printing,a1 and a2 show same output, hence I think a1 will have null character in the 2nd index.But i am not sure.</p>