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