fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int f()
  5. {
  6. cout << "f()" << endl;
  7. return 3;
  8. }
  9.  
  10. int v()
  11. {
  12. cout << "v()" << endl;
  13. return 4;
  14. }
  15.  
  16. int main()
  17. {
  18. int m;
  19. m = f(),v();
  20. cout << m << endl;
  21. return 0;
  22. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
f()
v()
3