fork download
  1. #include <iostream>
  2.  
  3. struct mystruct
  4. {
  5. double d;
  6. char c;
  7. };
  8.  
  9. int main()
  10. {
  11. std::cout << sizeof(mystruct) << std::endl;
  12. return 0;
  13. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
12