fork(4) download
  1. #include <iostream>
  2.  
  3. class X
  4. {
  5. public:
  6. X()
  7. : m_array{}
  8. {}
  9.  
  10. int m_array[10];
  11. };
  12.  
  13. int main() {
  14. X x;
  15. for (int i = 0; i < 10; ++i)
  16. {
  17. std::cout << x.m_array[i] << std::endl;
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0
0
0
0
0
0
0
0
0
0