Just a common sense question. I've been totally blanked out with this. I'm just thinking such a fool i am. If sombody comes along and say I'll give a C code, which you can edit and recompile and run it. How do you check for memory leak in the code? And that should be not using any of the memory managment tools. How would you go on about to check if there was a memory leak?