fork download
  1.  
  2. #include <iostream>
  3.  
  4. int foo( int x )
  5. {
  6. std::cout << "foo(" << x << ")" << std::endl ;
  7. return x ;
  8. }
  9.  
  10. int main()
  11. {
  12. std::cout << foo(1) << foo(2) << std::endl ;
  13. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
foo(2)
foo(1)
12