fork download
  1. #include <iostream>
  2.  
  3. class c
  4. {
  5. public:
  6. c()
  7. {
  8. std::cout<< "c constructor\n";
  9. }
  10. };
  11.  
  12. int main()
  13. {
  14. c o();
  15. o();
  16. }
  17.  
  18. c o()
  19. {
  20. std::cout<< "oh my\n";
  21. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
oh my