fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void callMe()
  5. {
  6. std::cout << "callMe()" << std::endl;
  7. }
  8.  
  9. using func = void(*)();
  10.  
  11. int main() {
  12. func someInterestingFunction = callMe;
  13.  
  14. someInterestingFunction();
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 4576KB
stdin
Standard input is empty
stdout
callMe()