fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void func()
  5. {
  6. std::cout << "Hello!\n";
  7. }
  8.  
  9. int main() {
  10. void (*ptr)() = &func;
  11. (****&**************&*&**********************&*ptr)();
  12. return 0;
  13. }
Success #stdin #stdout 0s 4368KB
stdin
Standard input is empty
stdout
Hello!