fork download
  1. type T=record
  2. n:integer;
  3. end;
  4. var a,b:T;
  5. BEGIN
  6. a.n:=5;
  7. b:=a;
  8. a.n:=10;
  9. writeln(b.n);
  10. END.
Success #stdin #stdout 0s 232KB
stdin
Standard input is empty
stdout
5