fork(452) download
  1. #include <iostream>
  2.  
  3. struct foo {
  4. foo() : a(true), b(true) {}
  5. bool a;
  6. bool b;
  7. bool c;
  8. } bar;
  9.  
  10. int main()
  11. {
  12. std::cout << bar.a << " "<< bar.b << " "<< bar.c << std::endl;
  13. return 0;
  14. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
1 1 0