Mohit Misra
2011-08-02 13:11:29 UTC
Memory is said to be leaked if it has there is no available references to memory at that particular instant. So my initial idea is to check memory(bytes) to see if it is not referenced by any pointer. But the problem is...'how would I check it???'.
The program has been asked by one of my senior during his campus placements interview...and guess what...he couldn't answer that...but still got selected :P
Any ideas will be welcomed...:) Thanks in advance.