fork(2) download
  1. #include <iostream>
  2.  
  3. int f() { return 0; }
  4.  
  5. int main()
  6. {
  7. using namespace std;
  8.  
  9. cout << boolalpha;
  10.  
  11. cout << &f << endl;
  12. cout << f << endl; // same
  13. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
true
true