Reallocating memory

When reallocating memory if any other pointers point into same piece of memory do you have to readjust these pointers or do they get readjusted automatically?

Questions by Ajay Kanse   answers by Ajay Kanse

Showing Answers 1 - 9 of 9 Answers

alokag

  • Jun 25th, 2009
 

While reallocating, there is no readjustments. The OS will just search for the required memory block(not in use) & if available pass its pointer to the user.

Nb: It CAN be the same pointer you have before reallocation.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions