fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class temp {
  5. public:
  6. temp(int i) : mI(i) {}
  7. int mI;
  8. };
  9.  
  10. int main() {
  11. // your code goes here
  12. int x = 0;
  13. temp t(x);
  14. std::cout << sizeof(t) << std::endl;
  15. return 0;
  16. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
4