Disclaimer

       The content in this blog is written with my own experience and knowledge. And sample programs and source code in this blog completely written and tested by me. If any source code and content is similar to any other site or book or blog, which is purely coincidental and not intentional.

       All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site.

       The readers taking the info or source code from this blog, they can use and distribute by specifying  my blog details. I will not sell any information on this blog. I reserve the right to change the content of the blog, closing the blog or selling the blog without informing to anyone.

      The owner of this blog will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.

3 comments:

Unknown said...

c program to calculate algerbric equation

Pankaj Marghade said...

Hi Chandra Sekhar Pasumarthi, Your blog is good. went through some of your programs. Just want to tell you that there is one correction in your one program. Deleting a node from a tree. In case 3 if the node has both left and right child. In this code you have written
left_current_prev->left = NULL; before freeing the node. This will not valid if the left_current has right subtree. It will be dangling if you assign left_current_prev->left to NULL. Just make this correction as left_current_prev->left = left_current->right.

Chanduthedev p said...

Hi Pankaj,

Thanks for your comment. I will try to check and modify if required.

Thanks,
Chandu

Popular Posts