fork(150) download
  1. #include<iostream>
  2. #include<stdlib.h>
  3. using namespace std;
  4.  
  5. class Test
  6. {
  7. public:
  8. Test()
  9. { cout << "Constructor called"; }
  10. };
  11.  
  12. int main()
  13. {
  14. Test *t = new Test;
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 3428KB
stdin
Standard input is empty
stdout
Constructor called