title: How to allocate 100 bytes of memory
body: <p>I come across this question in an interview. I answered</p>
  
  <pre><code>char *p = new char[100]; 
  </code></pre>
  
  <p>which is wrong according to interviewer. </p>
  
  <p>Can anyone tell me what is the correct way, and what exactly interviewer was expecting?</p>