fork(1) download
  1. #include <stdio.h>
  2.  
  3. struct test {
  4. int a;
  5. int b;
  6. } g_test2;
  7.  
  8. int main(void) {
  9.  
  10. struct test test1 = {
  11. .a = 5,
  12. .b = 5
  13. };
  14.  
  15. g_test2 = (struct test) {
  16. .a = 5,
  17. .b = 5
  18. };
  19.  
  20.  
  21. return 0;
  22. }
  23.  
Success #stdin #stdout 0s 4524KB
stdin
Standard input is empty
stdout
Standard output is empty