fork download
  1. #include <iostream>
  2.  
  3.  
  4. struct foo {
  5. bool a = true;
  6. bool b = false;
  7. bool c;
  8. };
  9.  
  10. struct bee {
  11. foo weee[2];
  12. } bar;
  13.  
  14. int main()
  15. {
  16. std::cout << bar.weee[0].a << " "<< bar.weee[0].b << " "<< bar.weee[0].c << std::endl;
  17. return 0;
  18. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
1 0 0