fork download
  1. #include <stdio.h>
  2.  
  3. struct student {
  4. int a;
  5. int b;
  6. int c;
  7. }aiu,eoka = {1,'A',3};
  8. int main(void) {
  9.  
  10. aiu.a = 1;
  11. aiu.b = 'B';
  12. aiu.c = 3;
  13.  
  14. printf("%d,%c,%d",aiu.a,aiu.b,aiu.c);
  15. printf("%d,%c,%d",eoka.a,eoka.b,eoka.c);
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
1,B,31,A,3