fork download
  1. program ideone;
  2. var c,d:integer;
  3.  
  4. procedure P(x,y:integer);
  5. begin
  6. y:=x+1;
  7. end;
  8.  
  9. procedure Q(x:integer; var y:integer);
  10. begin
  11. y:=x+1;
  12. end;
  13.  
  14. begin
  15. c:=2;
  16. d:=0;
  17. P(sqr(c)+c,d);
  18. writeln(d);
  19. end.
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
0