fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. struct X {
  6. int i, j;
  7. };
  8.  
  9. struct XArray {
  10. X xs[3];
  11. };
  12.  
  13.  
  14.  
  15. int main() {
  16. X xs1[3] { {1, 2}, {3, 4}, {5, 6} };
  17. XArray xs2 { { {1, 2}, {3, 4}, {5, 6} } };
  18. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
Standard output is empty