title: initializing char and char pointers
body: <p>What's the difference between these: </p>
  
  <p>This one works:</p>
  
  <pre><code>char* pEmpty = new char;
  *pEmpty = 'x';
  </code></pre>
  
  <p>However if I try doing:</p>
  
  <pre><code>char* pEmpty = NULL;
  *pEmpty = 'x'; // &lt;---- doesn't work!
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>char* pEmpty = "x"; // putting in double quotes works! why??
  </code></pre>
  
  <p>EDIT: Thank you for all the comments:
  I corrected it. it was supposed to be <em>pEmpty ='x',
  So, this line doesn't even compile: char</em> pEmpty ='x';
   wheras this line works: char* pEmpty ="x"; //double quotes.</p>