fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct Node{
  5. int a;
  6. double b;
  7. };
  8.  
  9. int main() {
  10. // your code goes here
  11.  
  12. struct Node s;
  13. cout<<sizeof(s);
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
12