title: Assigning char to char* using pointers
body: <p>Let's say I have a char *str and I want to assign it characters one by time using using pointers and incrementing ? </p>
  
  <p>I've done :</p>
  
  <pre><code>char *str;
  char c = 'a';
  *str++ = c;
  </code></pre>
  
  <p>But it doesn't work.</p>
  
  <p>How can I do that ?</p>