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