Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Program t_16_22_a(Input,Output);
- Type
- List=^Node;
- Node=Record
- Elem: Integer;
- Next: List
- End;
- Procedure Add(var L: List; E: Integer;);
- Var x: List;
- Begin
- New(x);
- x^.Elem:=E;
- x^.Next:=L;
- L:=x;
- End;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement