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?
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.