fork download
  1. program ideone;
  2. type R = record x,y: real; end;
  3. var
  4. p:pointer;
  5. pi:^integer;
  6. pr:^R;
  7. begin
  8. getmem(p,1024);
  9. pi:=p+sizeof(r);
  10. pr:=p;
  11. end.
Success #stdin #stdout 0s 488KB
stdin
Standard input is empty
stdout
Standard output is empty