C store digit and spaces in char array : <p>How can i store digits and spaces in an array? I am using a char array. Here is my code: </p>

<pre><code>char m[100];
int i;
for(i = 0; i &lt; 5; i++)
   if(i == 2)
      m[i] = ' ';
   else
      m[i] = i;
</code></pre>

<p>How can i print the content of m? (01 34)</p>
