Open Monil200 opened 10 years ago
While dealing with programs to delete nodes always return node to a ... root->left=funct() root->right=funct() free(root); root=NULL; return root; //so that NULL gets appended at correct location
While dealing with programs to delete nodes always return node to a ... root->left=funct() root->right=funct() free(root); root=NULL; return root; //so that NULL gets appended at correct location