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  >  Placement Papers  >  Wipro  >  Technical

 Print  |  
Question:   What happens when an array pointed out by temp is freed using free()?





February 02, 2006 14:42:23 #1
 bharti bhandari   Member Since: Visitor    Total Comments: N/A 

RE: What happens when an array pointed out by temp is...
 
according to me..nothing will happen..the temp will point to the same location..although that location is included as a free space ..that memory ralocated for some other variable..we may get the same values..aur we may get garbage/junk value
     

 

Back To Question