fork download
  1. struct X
  2. {
  3. int some;
  4. const char* really_long;
  5. double and_annoying_variable_names;
  6. };
  7.  
  8. int main()
  9. {
  10. struct X x = { 42, "hello world", 3.14 };
  11. // reassign:
  12. struct X y = { 0, "dummy", 0.0 };
  13. x = y;
  14.  
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 2244KB
stdin
Standard input is empty
stdout
Standard output is empty