fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void talk1()
  5. {
  6. cout << "good ";
  7. }
  8. void talk2()
  9. {
  10. cout << "evening ";
  11. }
  12. void talk3()
  13. {
  14. talk1();
  15. talk2();
  16. }
  17. int main()
  18. {
  19.  
  20. talk3();
  21.  
  22. return 0;
  23. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
good evening