title: character array printing output
body: <p>I am trying to understand outputs of printing character arrays and it is giving me variable outputs on ideone.com(C++ 4.3.2) and on my machine (Dev c++, MinGW compiler)</p>
  
  <p>1) </p>
  
  <pre><code>#include&lt;stdio.h&gt;
  main()
  {
      char a[] = {'s','t','a','c','k','o'};
      printf("%s ",a);
  }
  </code></pre>
  
  <p>It prints "stacko" on my machine BUT doesn't print anything on ideone </p>
  
  <p>2)</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  main()
  {
      char a[] = {'s','t','a','c','k','o','v','e'};
      printf("%s ",a);
  }
  </code></pre>
  
  <p>on ideone : it prints "stackove" only the first time then prints nothing the subsequent times when i run this program 
  on my dev-c : it prints "stackove.;||w" 
  what should be the IDEAL OUTPUT when I try to print this kind of character array without any '\0' at the end , it seems to give variable outputs everywhere . please help ! </p>