fork download
  1. #include <iostream>
  2.  
  3. struct T
  4. {
  5. int a, b, c;
  6. };
  7.  
  8. int main()
  9. {
  10. T t = {1};
  11. std::cout << t.a << ',' << t.b << ',' << t.c << '\n';
  12. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
1,0,0