title: Memory Allocation/Deallocation?
body: <p>I have been looking at memory allocation lately and I am a bit confused about the basics. I haven't been able to wrap my head around the simple stuff. What does it mean to allocate memory? What happens? I would appreciated answers to any of these questions:
  <br><br></p>
  
  <ol>
  <li>Where is the "memory" that is being allocated? <br></li>
  <li>What is this "memory"? Space in an array? Or something else? <br></li>
  <li>What happens exactly when this "memory" gets allocated? <br></li>
  <li>What happens exactly when the memory gets deallocated? <br></li>
  <li><p>It would also really help me if someone could answer what malloc does in these C++ lines:</p>
  
  <pre><code>char* x; 
  x = (char*) malloc (8);
  </code></pre></li>
  </ol>
  
  <p>Thank you.</p>