fork(2) download
  1. #include <bits/stdc++.h>
  2.  
  3. struct
  4. { bool zero : 1;
  5. bool casa : 1;
  6. bool boot : 1;
  7. bool base : 1;
  8. } data = {1, 0, 1, 0};
  9.  
  10. ///----------------------------------------------------------------------------|
  11. /// ...
  12. ///----------------------------------------------------------------------------:
  13. int main()
  14. { std::cout << sizeof(data) << '\n';
  15. }
Success #stdin #stdout 0.01s 5456KB
stdin
Standard input is empty
stdout
1