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