fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. struct some_struct {int some; char value;};
  5. struct some_struct s = {.some = 5, .value = 'a'};
  6. printf("some = %d, value = %c\n", s.some, s.value);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
some = 5, value = a