fork download
  1.  
  2. #include <iostream>
  3.  
  4. // and cHao kicks another dog
  5. using namespace std;
  6.  
  7. struct Blah {
  8. Blah() : i(43) { }
  9.  
  10. int i;
  11. };
  12.  
  13. int main() {
  14. Blah blaharray[9];
  15.  
  16. std::cout << blaharray[2].i << std::endl;
  17. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
43