fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. #define BINARY_FILE_NAME_MAXLEN 10
  5.  
  6. typedef struct _prv_instance_
  7. {
  8. char binary_filename [BINARY_FILE_NAME_MAXLEN];
  9. } prv_instance_t;
  10.  
  11.  
  12. int main()
  13. {
  14. prv_instance_t foo, bar;
  15. strcpy(foo.binary_filename, "Hello");
  16. strcpy(bar.binary_filename, "World");
  17.  
  18. printf("%s %s\n", foo.binary_filename, bar.binary_filename);
  19. return 0;
  20. }
  21.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
Hello World