title: Assigning integer value in a char array
body: <p>I need a integer value to be stored in the char array.</p>
  
  <pre><code>int i; 
  char example[5];
  
  for(i = 0; i &lt; 5; i++) {
      example[i] = i + 1;
  }
  </code></pre>
  
  <p>Apparently this doesn't work.  How do I do this?</p>