I was working on a piece of code and I was attacked by a doubt: What happens to the memory allocated to a pointer if I assign NULL to that pointer?
For instance:
C++ does't have garbage collector, like some other languages has (Java, C#, ...) so you must delete allocaled objects yourself.