GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  C

 Print  |  
Question:  Reallocating memory

Answer: 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?


July 07, 2009 16:00:08 #3
 abhimanipal   Member Since: July 2009    Total Comments: 22 

RE: Reallocating memory
 
If any pointers are pointing to the old memory location they have to be adjusted. C won't do it for you
     

 

Back To Question