Advertisement
volkovich_maksim

t_17_13_v1_volkovich

Dec 15th, 2015
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.17 KB | None | 0 0
  1. procedure del(T:tree);
  2.       begin
  3.            if (T^.left<>nil) then del(T^.left);
  4.            if (T^.right<>nil) then del(T^.right);
  5.            dispose(T);
  6.       end;
  7. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement