fork download
  1. #include <stdio.h>
  2. struct student{
  3. int id;
  4. char name;
  5. int weight;
  6. };
  7. int main(void) {
  8.  
  9. struct student inano={1};
  10. struct student koyo={2};
  11.  
  12. printf("%d\n",inano.id);
  13. printf("%c\n",inano.name);
  14. printf("%d\n",inano.weight);
  15. printf("%d\n",inano.id);
  16. printf("%c\n",inano.name);
  17. printf("%d\n",inano.weight);
  18.  
  19. return 0;
  20. }
  21.  
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
1

0
1

0