Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {Волкович Максим (volkovcih.maksim.s@gmail.com), 112гр., v1.0,
- описать процедуру, которая удаляет первый элемент списка L}
- type T=...;
- list=^chain;
- chain=record elem:T; next:list end;
- procedure delete(var L:list);
- var s:list;
- begin
- s:=L;
- L:=s^.next;
- dispose(s);
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement