Originally Posted by shabbir View Post
You need to work on your knowledge of Free and Malloc. This is completely not true.
can you tell me which is not true.

I am coming to say pointer is like an array. If you free one location it is not mean that other locations also cleared.