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