Given problem of freeing data structure checks whether you know in & out of given data structure or not. You can verify memory leaks using Valgrind.
Following is implementation of above problem in c language.
Please write comments if you find anything wrong or you want to add something more related to this topic.
No comments:
Post a Comment
Write your comment here.