title: Is there a way to allocate memory from a specific memory location?
body: <p>let me explain this with an example :
  imagine we want to resize an array of objects that were allocated dynamically before ...
  so we have a solution like this :
  <br />
  creating a new array with new size and trying to copy old array to this one and trying to deallocate old array ...
  <br /><br />
  but what i want is to check the memory right after the array for free space and if it's exist allocating the memory for my array and than preventing from memory overhead !on the other hand , if we don't have enough memory for our new array and old array at the same time ,we cannot resize it !
  <br />
  Is there a way to allocate memory from a specific memory location?</p>