fork download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6.  
  7. void f(int a, int b)
  8. {
  9. cout << a << " " << b << endl;
  10. }
  11.  
  12. int main(int argc, const char * argv[])
  13. {
  14. int i = 3;
  15. f(i,++i);
  16. }
  17.  
Success #stdin #stdout 0s 4576KB
stdin
Standard input is empty
stdout
4 4