Preps
Friday, 15 July 2011
Delete a node in tree.
clear(struct node* temp)
{
if (temp != NULL)
{
clear(temp->left);
clear(temp->right);
delete temp;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment