fork download
  1. #include <iostream>
  2. #include <cstring>
  3.  
  4.  
  5. typedef enum {
  6. RED = 1,
  7. GREEN,
  8. BLUE,
  9. GLUE
  10. } Color;
  11.  
  12. typedef struct {
  13. Color color;
  14. int a;
  15. double d;
  16. } MStruct;
  17.  
  18. int main()
  19. {
  20. MStruct mstruct;
  21. memset(&mstruct, 0, sizeof(mstruct));
  22. }
Success #stdin #stdout 0.01s 2676KB
stdin
Standard input is empty
stdout
Standard output is empty