fork download
  1. #include <stdio.h>
  2.  
  3. struct example {
  4. struct { int a, b; };
  5. int c;
  6. };
  7.  
  8. int main()
  9. {
  10. struct example e = { {1, 2}, 3};
  11. printf("%d %d %d\n", e.a, e.b, e.c);
  12. }
  13.  
Runtime error #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
1 2 3