fork(2) download
  1. void foo(long& x)
  2. {
  3. ++x;
  4. }
  5.  
  6. int main()
  7. {
  8. int i = 2;
  9. int& ir = i;
  10. long L = 5;
  11. auto a = ir/L;
  12. foo(a);
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
Standard output is empty