title: Strings without a '\0' char?
body: <p>If by mistake,I define a char array with no <code>\0</code> as its last character, what happens then?</p>
  
  <p>I'm asking this because I noticed that if I try to iterate through the array with <code>while(cnt!='\0')</code>, where <code>cnt</code> is an int variable used as an index to the array, and simultaneously print the cnt values to monitor what's happening the iteration stops at the last character +2.The extra characters are of course random but I can't get it why it has to stop after 2.Does the compiler automatically inserts a <code>\0</code> character? Links to relevant documentation would be appreciated.</p>
  
  <p>To make it clear I give an example. Let's say that the array <code>str</code> contains the word <code>doh</code>(with no '\0'). Printing the cnt variable at every loop would give me this:
  <code>doh+</code>
  or <code>doh^</code>
  and so on.</p>