Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure del(T:tree);
- begin
- if (T^.left<>nil) then del(T^.left);
- if (T^.right<>nil) then del(T^.right);
- dispose(T);
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement