title: what is the value of an array element if I don't assign it myself
body: <p>what would be the result if I wrote this </p>
  
  <pre><code>int array1[2];
  cout &lt;&lt; array1[0] ;
  </code></pre>
  
  <p>and how can I do this pseudocode :</p>
  
  <pre><code>if array1[0] doesn't have a value then assign its value to 1  
  </code></pre>
  
  <p>I'm using C++ on DevCPP </p>