Advertisement
volkovich_maksim

t_16_22_a

Nov 26th, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.23 KB | None | 0 0
  1. Program t_16_22_a(Input,Output);
  2. Type
  3.     List=^Node;
  4.     Node=Record
  5.             Elem: Integer;
  6.             Next: List
  7.           End;
  8.  
  9. Procedure Add(var L: List; E: Integer;);
  10. Var x: List;
  11.     Begin
  12.         New(x);
  13.         x^.Elem:=E;
  14.         x^.Next:=L;
  15. L:=x;      
  16.     End;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement