fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void display()
  5. {
  6. cout << "SHUSHHHHe.\n";
  7. }
  8. //*****************************************
  9. // Function main *
  10. //*****************************************
  11.  
  12. int main()
  13. {
  14. cout << "Hello from main.\n";
  15. display();
  16. cout << "Back in function main again.\n";
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
Hello from main.
SHUSHHHHe.
Back in function main again.