The title is passically my question. How does delete [] p know how much memory to get rid of.