title: How do you initialise a dynamic array in C++?
body: <p>How do I achieve the dynamic equivalent of this static array initialisation:</p>
  
  <pre><code>char c[2] = {};  // Sets all members to '\0';
  </code></pre>
  
  <p>In other words, create a dynamic array with all values initialised to the termination character:</p>
  
  <pre><code>char* c = new char[length]; // how do i amend this? 
  </code></pre>