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

This question is related to Wipro Interview

Showing Answers 1 - 1 of 1 Answers

bharti bhandari

  • Feb 23rd, 2006
 

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

  Was this answer useful?  Yes

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